peyk.platforms.telegram.types.managed_bot_created

Classes

ManagedBotCreated([id, user])

This object contains information about the bot that was created to be managed by the current bot.

class peyk.platforms.telegram.types.managed_bot_created.ManagedBotCreated(id: str = '', user: User | None = None)[source]

Bases: object

This object contains information about the bot that was created to be managed by the current bot.

Variables:

bot – Information about the bot. The bot’s token can be fetched using the method getManagedBotToken.

id: str = ''
user: User | None = None
classmethod from_dict(data: dict | None) ManagedBotCreated | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.