SuggestedPostDeclined

class telegram.SuggestedPostDeclined(suggested_post_message=None, comment=None, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

Describes 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_message and comment are equal.

Added in version 22.4.

Parameters:
suggested_post_message[source]

Optional. 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.

Type:

telegram.Message

comment[source]

Optional. Comment with which the post was declined.

Type:

str

classmethod de_json(data, bot=None)[source]

See telegram.TelegramObject.de_json().