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

A collage, corresponding to the custom HTML tag <tg-collage>. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlockCollage>

Public Attributes

std::string type { TYPE }
 Type of the block, always “collage”
std::vector< std::shared_ptr< RichBlock > > blocks { }
 Elements of the collage.
std::shared_ptr< RichBlockCaptioncaption { }
 Optional. Caption of the block.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A collage, corresponding to the custom HTML tag <tg-collage>.

Definition at line 11816 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 11817 of file Types.h.

Member Data Documentation

◆ blocks

std::vector<std::shared_ptr<RichBlock> > TgBot::RichBlockCollage::blocks { }

Elements of the collage.

Definition at line 11829 of file Types.h.

◆ caption

std::shared_ptr<RichBlockCaption> TgBot::RichBlockCollage::caption { }

Optional. Caption of the block.

Definition at line 11834 of file Types.h.

◆ TYPE

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

Definition at line 11819 of file Types.h.

◆ type

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

Type of the block, always “collage”

Definition at line 11824 of file Types.h.


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