blob: 1bdcf0ac7a4f076d7cfb298639a3f3e7c3970d3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef TGBOT_WEBAPPINFO_H
#define TGBOT_WEBAPPINFO_H
#include <memory>
#include <string>
namespace TgBot {
/**
* @brief Describes a Web App.
*
* https://core.telegram.org/bots/webapps
*
* @ingroup types
*/
class WebAppInfo {
public:
typedef std::shared_ptr<WebAppInfo> Ptr;
/**
* @brief An HTTPS URL of a Web App to be opened with additional data as specified in Initializing Web Apps (https://core.telegram.org/bots/webapps#initializing-mini-apps)
*/
std::string url;
};
}
#endif //TGBOT_WEBAPPINFO_H
|