WebAppData

class pyrogram.types.WebAppData

Contains data sent from a Web App to the bot.

Parameters:
  • data (str) – The data.

  • button_text (str) – Text of the web_app keyboard button, from which the Web App was opened.