peyk.platforms.telegram.types.business_messages_deleted

Classes

BusinessMessagesDeleted(...)

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

class peyk.platforms.telegram.types.business_messages_deleted.BusinessMessagesDeleted(business_connection_id: str, chat: Chat, message_ids: List[int])[source]

Bases: object

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

Variables:
  • business_connection_id (str) – Unique identifier of the business connection

  • chat (peyk.platforms.telegram.types.chat.Chat) – Information about a chat in the business account. The bot may not have access to the chat or the corresponding user.

  • message_ids (List[int]) – The list of identifiers of deleted messages in the chat of the business account

business_connection_id: str
chat: Chat
message_ids: List[int]
classmethod from_dict(data: dict | None) BusinessMessagesDeleted | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.