AttachMenuBot

class pyrogram.raw.types.AttachMenuBot

Telegram API type.

Constructor of AttachMenuBot.

Details:
  • Layer: 187

  • ID: D90D8DFE

Parameters:
  • bot_id (int 64-bit) – N/A

  • short_name (str) – N/A

  • icons (List of AttachMenuBotIcon) – N/A

  • inactive (bool, optional) – N/A

  • has_settings (bool, optional) – N/A

  • request_write_access (bool, optional) – N/A

  • show_in_attach_menu (bool, optional) – N/A

  • show_in_side_menu (bool, optional) – N/A

  • side_menu_disclaimer_needed (bool, optional) – N/A

  • peer_types (List of AttachMenuPeerType, optional) – N/A