Skip to content

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.

Documentation

Constructors

Constructor

new ManagedBotUpdated(payload): ManagedBotUpdated

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

Parameters

ParameterType
payloadTelegramManagedBotUpdated

Returns

ManagedBotUpdated

Properties

PropertyTypeDefined in
payloadTelegramManagedBotUpdatedcontexts/index.d.ts:4330

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

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


user

Get Signature

get user(): User

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

User that created the bot

Returns

User