SuggestedPostDeclined¶
- class telegram.SuggestedPostDeclined(suggested_post_message=None, comment=None, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectDescribes a service message about the rejection of a suggested post.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
suggested_post_messageandcommentare equal.Available In
Added in version 22.4.
- Parameters:
suggested_post_message (
telegram.Message, optional) – Message containing the suggested post. Note that theMessageobject in this field will not contain thereply_to_messagefield even if it itself is a reply.comment (
str, optional) – Comment with which the post was declined.
- suggested_post_message[source]¶
Optional. Message containing the suggested post. Note that the
Messageobject in this field will not contain thereply_to_messagefield even if it itself is a reply.- Type: