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

A section heading, corresponding to the HTML tags. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlockSectionHeading>

Public Attributes

std::string type { TYPE }
 Type of the block, always “heading”
std::shared_ptr< RichTexttext { }
 Text of the block.
std::int32_t size { }
 Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A section heading, corresponding to the HTML tags.

, , , , , or .

Definition at line 12163 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 12164 of file Types.h.

Member Data Documentation

◆ size

std::int32_t TgBot::RichBlockSectionHeading::size { }

Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest.

Definition at line 12181 of file Types.h.

◆ text

std::shared_ptr<RichText> TgBot::RichBlockSectionHeading::text { }

Text of the block.

Definition at line 12176 of file Types.h.

◆ TYPE

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

Definition at line 12166 of file Types.h.

◆ type

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

Type of the block, always “heading”

Definition at line 12171 of file Types.h.


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