ManagedBotUpdated

class aiogram.types.managed_bot_updated.ManagedBotUpdated(*, user: User, bot: User, **extra_data: Any)[source]

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

Source: https://core.telegram.org/bots/api#managedbotupdated

user: User

User that created the bot

bot_user: User

Information about the bot. Token of the bot can be fetched using the method aiogram.methods.get_managed_bot_token.GetManagedBotToken.