- class telegram.WebAppData(data, button_text, *, api_kwargs=None)[source]¶
Contains data sent from a Web App to the bot.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
New in version 20.0.
str) – The data. Be aware that a bad client can send arbitrary data in this field.
str) – Text of the
web_appkeyboard button, from which the Web App was opened.