peyk.platforms.telegram.types.suggested_post_declined¶
Classes
|
Describes a service message about the rejection of a suggested post. |
- class peyk.platforms.telegram.types.suggested_post_declined.SuggestedPostDeclined(suggested_post_message: Message | None = None, comment: str | None = None)[source]¶
Bases:
objectDescribes a service message about the rejection of a suggested post.
- Variables:
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.
comment (str | None) – Comment with which the post was declined
- comment: str | None = None¶
- classmethod from_dict(data: dict | None) SuggestedPostDeclined | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.