MenuButtonWebApp

class pyrogram.types.MenuButtonWebApp

A menu button, which launches a Web App.

Parameters:
  • text (str) – Text on the button

  • web_app (WebAppInfo) – Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answer_web_app_query().