Skip to content

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

Class: BusinessMessagesDeleted

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

Describes the connection of the bot with a business account.

Extended by

Constructors

Constructor

new BusinessMessagesDeleted(payload): BusinessMessagesDeleted

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

Parameters

ParameterType
payloadTelegramBusinessMessagesDeleted

Returns

BusinessMessagesDeleted

Properties

PropertyTypeDefined in
payloadTelegramBusinessMessagesDeletedcontexts/index.d.ts:1369

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


businessConnectionId

Get Signature

get businessConnectionId(): string

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

Unique identifier of the business connection

Returns

string


chat

Get Signature

get chat(): Chat

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

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:1378

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

Returns

number[]