tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
Describes a Web App. https://core.telegram.org/bots/api#webappinfo. More...
#include <WebAppInfo.hpp>
Public Member Functions | |
WebAppInfo ()=default | |
WebAppInfo (const nl::json &json) | |
nl::json | toJson () const |
Serializes this object to JSON. More... | |
void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Attributes | |
std::string | url |
An HTTPS URL of a Web App to be opened with additional data as specified in Initializing Web Apps Web Apps https://core.telegram.org/bots/webapps#initializing-mini-apps . More... | |
Describes a Web App. https://core.telegram.org/bots/api#webappinfo.
Definition at line 7 of file WebAppInfo.hpp.
|
default |
|
inlineexplicit |
Definition at line 9 of file WebAppInfo.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 27 of file WebAppInfo.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 20 of file WebAppInfo.hpp.
std::string tgbotxx::WebAppInfo::url |
An HTTPS URL of a Web App to be opened with additional data as specified in Initializing Web Apps Web Apps https://core.telegram.org/bots/webapps#initializing-mini-apps .
Definition at line 15 of file WebAppInfo.hpp.