|
tgbot-cpp
|
An item of a list. More...
#include <Types.h>
Public Types | |
| using | Ptr = std::shared_ptr<RichBlockListItem> |
Public Attributes | |
| std::string | label { } |
| Label of the item. | |
| std::vector< std::shared_ptr< RichBlock > > | blocks { } |
| The content of the item. | |
| std::optional< bool > | hasCheckbox { } |
| Optional. True, if the item has a checkbox. | |
| std::optional< bool > | isChecked { } |
| Optional. True, if the item has a checked checkbox. | |
| std::optional< std::int32_t > | value { } |
| Optional. For ordered lists, the numeric value of the item label. | |
| std::optional< std::string > | type { } |
| Optional. For ordered lists, the type of the item label; must be one of “a” for lowercase letters, “A” for uppercase letters, “i” for lowercase Roman numerals, “I” for uppercase Roman numerals, or “1” for decimal numbers. | |
| using TgBot::RichBlockListItem::Ptr = std::shared_ptr<RichBlockListItem> |
| std::vector<std::shared_ptr<RichBlock> > TgBot::RichBlockListItem::blocks { } |
| std::optional<bool> TgBot::RichBlockListItem::hasCheckbox { } |
| std::optional<bool> TgBot::RichBlockListItem::isChecked { } |
| std::string TgBot::RichBlockListItem::label { } |
| std::optional<std::string> TgBot::RichBlockListItem::type { } |
| std::optional<std::int32_t> TgBot::RichBlockListItem::value { } |