tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InputRichBlockButtons Struct Reference

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

Detailed Description

A block containing a list of buttons that are shown in one row, corresponding to the custom HTML tag <tg-button-row>.

Definition at line 6715 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 6716 of file Types.h.

Member Data Documentation

◆ align

std::optional<std::string> TgBot::InputRichBlockButtons::align { }

Optional. Horizontal alignment of the buttons. Currently, must be one of “left”, “center”, or “right”.

Definition at line 6732 of file Types.h.

◆ buttons

std::vector<std::shared_ptr<RichMessageButton> > TgBot::InputRichBlockButtons::buttons { }

List of 1-8 buttons to send.

Definition at line 6727 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::InputRichBlockButtons::TYPE
static

Definition at line 6718 of file Types.h.

◆ type

std::string TgBot::InputRichBlockButtons::type { TYPE }

Type of the block, always “buttons”

Definition at line 6723 of file Types.h.


The documentation for this struct was generated from the following file: