Skip to content

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.

Documentation

Constructors

Constructor

new ManagedBotCreated(payload): ManagedBotCreated

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

Parameters

ParameterType
payloadTelegramManagedBotCreated

Returns

ManagedBotCreated

Properties

PropertyTypeDefined in
payloadTelegramManagedBotCreatedcontexts/index.d.ts:2355

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

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.

Returns

User