ManagedBotUpdated

class pyrogram.types.ManagedBotUpdated

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

Parameters:
  • user (User) – User that created the bot.

  • bot (User) – Information about the bot. Token of the bot can be fetched using the method get_managed_bot_token().