tgbot-cpp
Loading...
Searching...
No Matches
KeyboardButton.h
Go to the documentation of this file.
1#ifndef TGBOT_KEYBOARDBUTTON_H
2#define TGBOT_KEYBOARDBUTTON_H
3
8
9#include <memory>
10#include <string>
11
12namespace TgBot {
13
78}
79
80#endif //TGBOT_KEYBOARDBUTTON_H
This object represents one button of the reply keyboard. For simple text buttons, String can be used ...
bool requestContact
Optional. If True, the user's phone number will be sent as a contact when the button is pressed.
KeyboardButtonRequestChat::Ptr requestChat
Optional. If specified, pressing the button will open a list of suitable chats.
KeyboardButtonPollType::Ptr requestPoll
Optional. If specified, the user will be asked to create a poll and send it to the bot when the butto...
bool requestLocation
Optional. If True, the user's current location will be sent when the button is pressed.
std::string text
Text of the button.
KeyboardButtonRequestUser::Ptr requestUser
Optional. If specified, pressing the button will open a list of suitable users.
WebAppInfo::Ptr webApp
Optional. If specified, the described Web App will be launched when the button is pressed.
std::shared_ptr< KeyboardButton > Ptr
std::shared_ptr< KeyboardButtonPollType > Ptr
std::shared_ptr< KeyboardButtonRequestChat > Ptr
std::shared_ptr< KeyboardButtonRequestUser > Ptr
std::shared_ptr< WebAppInfo > Ptr
Definition WebAppInfo.h:17
Definition Api.h:39