BusinessMessagesDeleted

@Serializable
data class BusinessMessagesDeleted(val businessConnectionId: String, val chat: Chat, val messageIds: List<Int>)

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

Api reference

Constructors

Link copied to clipboard
constructor(businessConnectionId: String, chat: Chat, messageIds: List<Int>)

Properties

Link copied to clipboard

Unique identifier of the business connection

Link copied to clipboard
val chat: Chat

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

Link copied to clipboard

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