An expandable block for details disclosure, corresponding to the HTML tag.
More...
#include <Types.h>
|
| std::string | type { TYPE } |
| | Type of the block, always “details”
|
| std::shared_ptr< RichText > | summary { } |
| | Always shown summary of the block.
|
| std::vector< std::shared_ptr< RichBlock > > | blocks { } |
| | Content of the block.
|
| std::optional< bool > | isOpen { } |
| | Optional. True, if the content of the block is visible by default.
|
An expandable block for details disclosure, corresponding to the HTML tag.
Details
.
Definition at line 11844 of file Types.h.
◆ Ptr
◆ blocks
| std::vector<std::shared_ptr<RichBlock> > TgBot::RichBlockDetails::blocks { } |
Content of the block.
Definition at line 11862 of file Types.h.
◆ isOpen
| std::optional<bool> TgBot::RichBlockDetails::isOpen { } |
Optional. True, if the content of the block is visible by default.
Definition at line 11867 of file Types.h.
◆ summary
| std::shared_ptr<RichText> TgBot::RichBlockDetails::summary { } |
Always shown summary of the block.
Definition at line 11857 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::RichBlockDetails::TYPE |
|
static |
◆ type
| std::string TgBot::RichBlockDetails::type { TYPE } |
Type of the block, always “details”
Definition at line 11852 of file Types.h.
The documentation for this struct was generated from the following file: