BusinessMessagesDeleted

class aiogram.types.business_messages_deleted.BusinessMessagesDeleted(*, business_connection_id: str, chat: Chat, message_ids: list[int], **extra_data: Any)[source]

This object is received when messages are deleted from a connected business account.

Source: https://core.telegram.org/bots/api#businessmessagesdeleted

business_connection_id: str

Unique identifier of the business connection

chat: Chat

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

model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(context: Any, /) None

We need to both initialize private attributes and call the user-defined model_post_init method.

message_ids: list[int]

The list of identifiers of deleted messages in the chat of the business account