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 7498 of file Types.h.
◆ Ptr
◆ blocks
| std::vector<std::shared_ptr<InputRichBlock> > TgBot::InputRichBlockListItem::blocks { } |
The content of the item.
Definition at line 7504 of file Types.h.
◆ hasCheckbox
| std::optional<bool> TgBot::InputRichBlockListItem::hasCheckbox { } |
Optional. Pass True if the item has a checkbox.
Definition at line 7509 of file Types.h.
◆ isChecked
| std::optional<bool> TgBot::InputRichBlockListItem::isChecked { } |
Optional. Pass True if the item has a checked checkbox.
Definition at line 7514 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 7526 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 7519 of file Types.h.
The documentation for this struct was generated from the following file: