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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputRichBlockDetails>

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< InputRichBlock > > blocks { }
 Content of the block.
std::optional< bool > isOpen { }
 Optional. Pass 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 7401 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7402 of file Types.h.

Member Data Documentation

◆ blocks

std::vector<std::shared_ptr<InputRichBlock> > TgBot::InputRichBlockDetails::blocks { }

Content of the block.

Definition at line 7419 of file Types.h.

◆ isOpen

std::optional<bool> TgBot::InputRichBlockDetails::isOpen { }

Optional. Pass True if the content of the block is visible by default.

Definition at line 7424 of file Types.h.

◆ summary

std::shared_ptr<RichText> TgBot::InputRichBlockDetails::summary { }

Always shown summary of the block.

Definition at line 7414 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::InputRichBlockDetails::TYPE
static

Definition at line 7404 of file Types.h.

◆ type

std::string TgBot::InputRichBlockDetails::type { TYPE }

Type of the block, always “details”

Definition at line 7409 of file Types.h.


The documentation for this struct was generated from the following file: