peyk.platforms.telegram.types.managed_bot_updated

Classes

ManagedBotUpdated([id, user, token])

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: object

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

Variables:
id: str = ''
user: User | None = None
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.