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

This object represents a block in a rich formatted message. Currently, it can be any of the following types: RichBlockParagraph RichBlockSectionHeading RichBlockPreformatted RichBlockFooter RichBlockDivider RichBlockMathematicalExpression RichBlockAnchor RichBlockList RichBlockBlockQuotation RichBlockPullQuotation RichBlockCollage RichBlockSlideshow RichBlockTable RichBlockDetails RichBlockMap RichBlockAnimation RichBlockAudio RichBlockPhoto RichBlockVideo RichBlockVoiceNote RichBlockThinking. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlock>

Public Attributes

std::variant< std::shared_ptr< RichBlockParagraph >, std::shared_ptr< RichBlockSectionHeading >, std::shared_ptr< RichBlockPreformatted >, std::shared_ptr< RichBlockFooter >, std::shared_ptr< RichBlockDivider >, std::shared_ptr< RichBlockMathematicalExpression >, std::shared_ptr< RichBlockAnchor >, std::shared_ptr< RichBlockList >, std::shared_ptr< RichBlockBlockQuotation >, std::shared_ptr< RichBlockPullQuotation >, std::shared_ptr< RichBlockCollage >, std::shared_ptr< RichBlockSlideshow >, std::shared_ptr< RichBlockTable >, std::shared_ptr< RichBlockDetails >, std::shared_ptr< RichBlockMap >, std::shared_ptr< RichBlockAnimation >, std::shared_ptr< RichBlockAudio >, std::shared_ptr< RichBlockPhoto >, std::shared_ptr< RichBlockVideo >, std::shared_ptr< RichBlockVoiceNote >, std::shared_ptr< RichBlockThinking > > value

Detailed Description

Member Typedef Documentation

◆ Ptr

using TgBot::RichBlock::Ptr = std::shared_ptr<RichBlock>

Definition at line 11662 of file Types.h.

Member Data Documentation

◆ value

std::variant< std::shared_ptr<RichBlockParagraph>, std::shared_ptr<RichBlockSectionHeading>, std::shared_ptr<RichBlockPreformatted>, std::shared_ptr<RichBlockFooter>, std::shared_ptr<RichBlockDivider>, std::shared_ptr<RichBlockMathematicalExpression>, std::shared_ptr<RichBlockAnchor>, std::shared_ptr<RichBlockList>, std::shared_ptr<RichBlockBlockQuotation>, std::shared_ptr<RichBlockPullQuotation>, std::shared_ptr<RichBlockCollage>, std::shared_ptr<RichBlockSlideshow>, std::shared_ptr<RichBlockTable>, std::shared_ptr<RichBlockDetails>, std::shared_ptr<RichBlockMap>, std::shared_ptr<RichBlockAnimation>, std::shared_ptr<RichBlockAudio>, std::shared_ptr<RichBlockPhoto>, std::shared_ptr<RichBlockVideo>, std::shared_ptr<RichBlockVoiceNote>, std::shared_ptr<RichBlockThinking> > TgBot::RichBlock::value

Definition at line 11673 of file Types.h.


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