Skip to content

GramIO API Reference / @gramio/contexts/dist / BusinessMessagesDeleted

Class: BusinessMessagesDeleted ​

Defined in: contexts/index.d.ts:1595

Describes the connection of the bot with a business account.

Extended by ​

Constructors ​

Constructor ​

new BusinessMessagesDeleted(payload): BusinessMessagesDeleted

Defined in: contexts/index.d.ts:1597

Parameters ​

ParameterType
payloadTelegramBusinessMessagesDeleted

Returns ​

BusinessMessagesDeleted

Properties ​

PropertyTypeDefined in
payloadTelegramBusinessMessagesDeletedcontexts/index.d.ts:1596

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

Defined in: contexts/index.d.ts:1599

MDN

Returns ​

string


businessConnectionId ​

Get Signature ​

get businessConnectionId(): string

Defined in: contexts/index.d.ts:1601

Unique identifier of the business connection

Returns ​

string


chat ​

Get Signature ​

get chat(): Chat

Defined in: contexts/index.d.ts:1603

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

Returns ​

Chat


messageIds ​

Get Signature ​

get messageIds(): number[]

Defined in: contexts/index.d.ts:1605

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

Returns ​

number[]