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

An expandable block for details disclosure, corresponding to the HTML tag. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlockDetails>

Public Attributes

std::string type { TYPE }
 Type of the block, always “details”
std::shared_ptr< RichTextsummary { }
 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.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

An expandable block for details disclosure, corresponding to the HTML tag.

Details

.

Definition at line 11844 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 11845 of file Types.h.

Member Data Documentation

◆ 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

Definition at line 11847 of file Types.h.

◆ 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: