tgbot-cpp
Loading...
Searching...
No Matches
InlineQueryResultsButton.h
Go to the documentation of this file.
1#ifndef TGBOT_INLINEQUERYRESULTSBUTTON_H
2#define TGBOT_INLINEQUERYRESULTSBUTTON_H
3
5
6#include <memory>
7#include <string>
8
9namespace TgBot {
10
19public:
20 typedef std::shared_ptr<InlineQueryResultsButton> Ptr;
21
25 std::string text;
26
33
42 std::string startParameter;
43};
44}
45
46#endif //TGBOT_INLINEQUERYRESULTSBUTTON_H
This object represents a button to be shown above inline query results.
std::shared_ptr< InlineQueryResultsButton > Ptr
std::string text
Label text on the button.
std::string startParameter
Optional. Deep-linking (https://core.telegram.org/bots/features#deep-linking) parameter for the /star...
WebAppInfo::Ptr webApp
Optional. Description of the Web App (https://core.telegram.org/bots/webapps) that will be launched w...
std::shared_ptr< WebAppInfo > Ptr
Definition WebAppInfo.h:19
Definition Api.h:40