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, and chat are equal.

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.

business_connection_id[source]

Unique identifier of the business connection.

Type:

str

chat[source]

Information about a chat in the business account. The bot may not have access to the chat or the corresponding user.

Type:

telegram.Chat

message_ids[source]

A list of identifiers of the deleted messages in the chat of the business account.

Type:

Tuple[int]

classmethod de_json(data, bot)[source]

See telegram.TelegramObject.de_json().