telegramx.js

ManagedBotUpdated

interface

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

Declaration

interface ManagedBotUpdated 

Properties

botproperty#
bot: User;

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

userproperty#
user: User;

User that created the bot