tgbot-cpp
|
Contains data sent from a Web App to the bot. More...
#include <WebAppData.h>
Public Types | |
typedef std::shared_ptr< WebAppData > | Ptr |
Public Attributes | |
std::string | data |
The data. Be aware that a bad client can send arbitrary data in this field. | |
std::string | buttonText |
Text of the webApp keyboard button, from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field. | |
Contains data sent from a Web App to the bot.
Definition at line 14 of file WebAppData.h.
typedef std::shared_ptr<WebAppData> TgBot::WebAppData::Ptr |
Definition at line 16 of file WebAppData.h.
std::string TgBot::WebAppData::buttonText |
Text of the webApp keyboard button, from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field.
Definition at line 28 of file WebAppData.h.
std::string TgBot::WebAppData::data |
The data. Be aware that a bad client can send arbitrary data in this field.
Definition at line 22 of file WebAppData.h.