BusinessMessagesDeleted¶
- class telegram.BusinessMessagesDeleted(business_connection_id, chat, message_ids, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
This object is received when messages are deleted from a connected business account.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal if their
business_connection_id
,message_ids
, andchat
are equal.Available In
Added in version 21.1.
- Parameters:
business_connection_id (
str
) – Unique identifier of the business connection.chat (
telegram.Chat
) – Information about a chat in the business account. The bot may not have access to the chat or the corresponding user.message_ids (Sequence[
int
]) – A list of identifiers of the deleted messages in the chat of the business account.
- chat[source]¶
Information about a chat in the business account. The bot may not have access to the chat or the corresponding user.
- Type:
- message_ids[source]¶
A list of identifiers of the deleted messages in the chat of the business account.
- Type:
tuple[
int
]