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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<WebAppData>

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 web_app keyboard button from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field.

Detailed Description

Describes data sent from a Web App to the bot.

Definition at line 15320 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::WebAppData::Ptr = std::shared_ptr<WebAppData>

Definition at line 15321 of file Types.h.

Member Data Documentation

◆ buttonText

std::string TgBot::WebAppData::buttonText { }

Text of the web_app 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 15332 of file Types.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 15326 of file Types.h.


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