tgbot-cpp
Loading...
Searching...
No Matches
TgBot::WebAppData Class Reference

Contains data sent from a Web App to the bot. More...

#include <WebAppData.h>

Public Types

typedef std::shared_ptr< WebAppDataPtr
 

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.
 

Detailed Description

Contains data sent from a Web App to the bot.

Definition at line 14 of file WebAppData.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<WebAppData> TgBot::WebAppData::Ptr

Definition at line 16 of file WebAppData.h.

Member Data Documentation

◆ buttonText

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.

◆ data

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.


The documentation for this class was generated from the following file: