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
4
#include "
tgbot/types/WebAppInfo.h
"
5
6
#include <memory>
7
#include <string>
8
9
namespace
TgBot
{
10
18
class
InlineQueryResultsButton
{
19
public
:
20
typedef
std::shared_ptr<InlineQueryResultsButton>
Ptr
;
21
25
std::string
text
;
26
32
WebAppInfo::Ptr
webApp
;
33
42
std::string
startParameter
;
43
};
44
}
45
46
#endif
//TGBOT_INLINEQUERYRESULTSBUTTON_H
WebAppInfo.h
TgBot::InlineQueryResultsButton
This object represents a button to be shown above inline query results.
Definition
InlineQueryResultsButton.h:18
TgBot::InlineQueryResultsButton::Ptr
std::shared_ptr< InlineQueryResultsButton > Ptr
Definition
InlineQueryResultsButton.h:20
TgBot::InlineQueryResultsButton::text
std::string text
Label text on the button.
Definition
InlineQueryResultsButton.h:25
TgBot::InlineQueryResultsButton::startParameter
std::string startParameter
Optional. Deep-linking (https://core.telegram.org/bots/features#deep-linking) parameter for the /star...
Definition
InlineQueryResultsButton.h:42
TgBot::InlineQueryResultsButton::webApp
WebAppInfo::Ptr webApp
Optional. Description of the Web App (https://core.telegram.org/bots/webapps) that will be launched w...
Definition
InlineQueryResultsButton.h:32
TgBot::WebAppInfo::Ptr
std::shared_ptr< WebAppInfo > Ptr
Definition
WebAppInfo.h:19
TgBot
Definition
Api.h:40
include
tgbot
types
InlineQueryResultsButton.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0