An item of a list to be sent.
More...
#include <Types.h>
|
| std::vector< std::shared_ptr< InputRichBlock > > | blocks { } |
| | The content of the item.
|
| std::optional< bool > | hasCheckbox { } |
| | Optional. Pass True if the item has a checkbox.
|
| std::optional< bool > | isChecked { } |
| | Optional. Pass 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.
|
An item of a list to be sent.
Definition at line 7168 of file Types.h.
◆ Ptr
◆ blocks
| std::vector<std::shared_ptr<InputRichBlock> > TgBot::InputRichBlockListItem::blocks { } |
The content of the item.
Definition at line 7174 of file Types.h.
◆ hasCheckbox
| std::optional<bool> TgBot::InputRichBlockListItem::hasCheckbox { } |
Optional. Pass True if the item has a checkbox.
Definition at line 7178 of file Types.h.
◆ isChecked
| std::optional<bool> TgBot::InputRichBlockListItem::isChecked { } |
Optional. Pass True if the item has a checked checkbox.
Definition at line 7182 of file Types.h.
◆ type
| std::optional<std::string> TgBot::InputRichBlockListItem::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.
Definition at line 7192 of file Types.h.
◆ value
| std::optional<std::int32_t> TgBot::InputRichBlockListItem::value { } |
Optional. For ordered lists, the numeric value of the item label.
Definition at line 7186 of file Types.h.
The documentation for this struct was generated from the following file: