RequestPeerTypeCreateBot#

class pyrogram.raw.types.RequestPeerTypeCreateBot#

Used in a keyboardButtonRequestPeer by a manager bot to ask a user to create a new managed bot, see here for more info.

Constructor of RequestPeerType.

Details:
  • Layer: 227

  • ID: 3E81E078

Parameters:
  • bot_managed (bool, optional) – If set, requests to create a managed bot; must always be set.

  • suggested_name (str, optional) – If set, the name to pre-fill in the managed bot creation flow

  • suggested_username (str, optional) – If set, the username to pre-fill in the managed bot creation flow