peyk.platforms.telegram.types.managed_bot_updated¶
Classes
|
This object contains information about the creation, token update, or owner update of a bot that is managed by the current bot. |
- class peyk.platforms.telegram.types.managed_bot_updated.ManagedBotUpdated(id: str = '', user: User | None = None, token: str | None = None)[source]¶
Bases:
objectThis object contains information about the creation, token update, or owner update of a bot that is managed by the current bot.
- Variables:
user (peyk.platforms.telegram.types.user.User | None) – User that created the bot
bot – Information about the bot. Token of the bot can be fetched using the method getManagedBotToken.
- id: str = ''¶
- token: str | None = None¶
- classmethod from_dict(data: dict | None) ManagedBotUpdated | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.