peyk.platforms.telegram.types.suggested_post_refunded¶
Classes
|
Describes a service message about a payment refund for a suggested post. |
- class peyk.platforms.telegram.types.suggested_post_refunded.SuggestedPostRefunded(suggested_post_message: Message | None = None, price: object | None = None, reason: str | None = None)[source]¶
Bases:
objectDescribes a service message about a payment refund for a suggested post.
- Variables:
reason (str | None) – Reason for the refund. Currently, one of ‘post_deleted’ if the post was deleted within 24 hours of being posted or removed from scheduled messages without being posted, or ‘payment_refunded’ if the payer refunded their payment.
suggested_post_message (peyk.platforms.telegram.types.message.Message | None) – Message containing the suggested post. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.
- price: object | None = None¶
- reason: str | None = None¶
- classmethod from_dict(data: dict | None) SuggestedPostRefunded | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.