GramIO API Reference / @gramio/contexts/dist / ManagedBotCreated
Class: ManagedBotCreated
Defined in: contexts/index.d.ts:2354
This object contains information about the bot that was created to be managed by the current bot.
Constructors
Constructor
new ManagedBotCreated(
payload):ManagedBotCreated
Defined in: contexts/index.d.ts:2356
Parameters
| Parameter | Type |
|---|---|
payload | TelegramManagedBotCreated |
Returns
ManagedBotCreated
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramManagedBotCreated | contexts/index.d.ts:2355 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:2358
Returns
string
bot
Get Signature
get bot():
User
Defined in: contexts/index.d.ts:2362
Information about the bot. The bot's token can be fetched using the method getManagedBotToken.