KeyboardButtonRequestManagedBot#

class pyrogram.types.KeyboardButtonRequestManagedBot[source]#

This object defines the parameters for the creation of a managed bot. Information about the created bot will be shared with the bot using the update managed_bot and a Message with the field managed_bot_created.

Parameters:
  • request_id (int) – Signed 32-bit identifier of the request. Must be unique within the message

  • suggested_name (str, optional) – Suggested name for the bot.

  • suggested_username (str, optional) – Suggested username for the bot.