RequestPeerTypeManagedBot

class pyrogram.types.RequestPeerTypeManagedBot

Criteria for requesting a managed bot creation via a keyboard button.

Parameters:
  • button_id (int, optional) – Button identifier. Defaults to 0.

  • bot_managed (bool, optional) – If True, the created bot will be set as managed by the requesting bot.

  • suggested_name (str, optional) – Pre-filled name suggestion shown to the user during bot creation.

  • suggested_username (str, optional) – Pre-filled username suggestion shown to the user during bot creation.