Skip to content

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

Class: ManagedBotUpdated ​

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

This object contains information about the creation or token update of a bot that is managed by the current bot.

Documentation

Constructors ​

Constructor ​

new ManagedBotUpdated(payload): ManagedBotUpdated

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

Parameters ​

ParameterType
payloadTelegramManagedBotUpdated

Returns ​

ManagedBotUpdated

Properties ​

PropertyTypeDefined in
payloadTelegramManagedBotUpdatedcontexts/index.d.ts:4684

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


bot ​

Get Signature ​

get bot(): User

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

Information about the bot. Token of the bot can be fetched using the method getManagedBotToken.

Returns ​

User


user ​

Get Signature ​

get user(): User

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

User that created the bot

Returns ​

User