Skip to content

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

Class: BotDescription ​

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

This object represents the bot's description.

Constructors ​

Constructor ​

new BotDescription(payload): BotDescription

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

Parameters ​

ParameterType
payloadTelegramBotDescription

Returns ​

BotDescription

Properties ​

PropertyTypeDefined in
payloadTelegramBotDescriptioncontexts/index.d.ts:1423

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


description ​

Get Signature ​

get description(): string

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

The bot's description

Returns ​

string