|
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<RichBlockButtons> |
Public Attributes | |
| std::string | type { TYPE } |
| Type of the block, always “buttons” | |
| std::vector< std::shared_ptr< RichMessageButton > > | buttons { } |
| The buttons. | |
| 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::RichBlockButtons::Ptr = std::shared_ptr<RichBlockButtons> |
| std::optional<std::string> TgBot::RichBlockButtons::align { } |
| std::vector<std::shared_ptr<RichMessageButton> > TgBot::RichBlockButtons::buttons { } |
|
static |
| std::string TgBot::RichBlockButtons::type { TYPE } |