ManagedBotCreated¶
- class telegram.ManagedBotCreated(bot, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis object contains information about the bot that was created to be managed by the current bot.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
botis equal.Available In
Added in version 22.8.
- Parameters:
bot (
telegram.User) – Information about the bot. The bot’s token can be fetched using the methodget_managed_bot_token().
- bot[source]¶
Information about the bot. The bot’s token can be fetched using the method
get_managed_bot_token().- Type: