GramIO API Reference / @gramio/contexts/dist / ManagedBotUpdated
Class: ManagedBotUpdated
Defined in: contexts/index.d.ts:4329
This object contains information about the creation or token update of a bot that is managed by the current bot.
Constructors
Constructor
new ManagedBotUpdated(
payload):ManagedBotUpdated
Defined in: contexts/index.d.ts:4331
Parameters
| Parameter | Type |
|---|---|
payload | TelegramManagedBotUpdated |
Returns
ManagedBotUpdated
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramManagedBotUpdated | contexts/index.d.ts:4330 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:4333
Returns
string
bot
Get Signature
get bot():
User
Defined in: contexts/index.d.ts:4339
Information about the bot. Token of the bot can be fetched using the method getManagedBotToken.
Returns
user
Get Signature
get user():
User
Defined in: contexts/index.d.ts:4335
User that created the bot