tgbot-cpp
|
Represents a menu button, which launches a Web App. More...
#include <MenuButtonWebApp.h>
Public Types | |
typedef std::shared_ptr< MenuButtonWebApp > | Ptr |
Public Types inherited from TgBot::MenuButton | |
typedef std::shared_ptr< MenuButton > | Ptr |
Public Member Functions | |
MenuButtonWebApp () | |
Public Member Functions inherited from TgBot::MenuButton | |
MenuButton () | |
virtual | ~MenuButton () |
Public Attributes | |
std::string | text |
Text on the button. | |
WebAppInfo::Ptr | webApp |
Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method Api::answerWebAppQuery. | |
Public Attributes inherited from TgBot::MenuButton | |
std::string | type |
Type of the button. | |
Static Public Attributes | |
static const std::string | TYPE |
Represents a menu button, which launches a Web App.
Definition at line 17 of file MenuButtonWebApp.h.
typedef std::shared_ptr<MenuButtonWebApp> TgBot::MenuButtonWebApp::Ptr |
Definition at line 21 of file MenuButtonWebApp.h.
|
inline |
Definition at line 23 of file MenuButtonWebApp.h.
std::string TgBot::MenuButtonWebApp::text |
Text on the button.
Definition at line 30 of file MenuButtonWebApp.h.
|
static |
Definition at line 19 of file MenuButtonWebApp.h.
WebAppInfo::Ptr TgBot::MenuButtonWebApp::webApp |
Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method Api::answerWebAppQuery.
Definition at line 36 of file MenuButtonWebApp.h.