|
tgbot-cpp
|
A block containing a list of buttons that are shown in one row, corresponding to the custom HTML tag <tg-button-row>. More...
#include <Types.h>
Public Types | |
| using | Ptr = std::shared_ptr<InputRichBlockButtons> |
Public Attributes | |
| std::string | type { TYPE } |
| Type of the block, always “buttons” | |
| std::vector< std::shared_ptr< RichMessageButton > > | buttons { } |
| List of 1-8 buttons to send. | |
| std::optional< std::string > | align { } |
| Optional. Horizontal alignment of the buttons. Currently, must be one of “left”, “center”, or “right”. | |
Static Public Attributes | |
| static TGBOT_API const std::string | TYPE |
A block containing a list of buttons that are shown in one row, corresponding to the custom HTML tag <tg-button-row>.
| using TgBot::InputRichBlockButtons::Ptr = std::shared_ptr<InputRichBlockButtons> |
| std::optional<std::string> TgBot::InputRichBlockButtons::align { } |
| std::vector<std::shared_ptr<RichMessageButton> > TgBot::InputRichBlockButtons::buttons { } |
|
static |
| std::string TgBot::InputRichBlockButtons::type { TYPE } |