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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputRichBlockSectionHeading>

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 7711 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7712 of file Types.h.

Member Data Documentation

◆ size

std::int32_t TgBot::InputRichBlockSectionHeading::size { }

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

Definition at line 7729 of file Types.h.

◆ text

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

Text of the block.

Definition at line 7724 of file Types.h.

◆ TYPE

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

Definition at line 7714 of file Types.h.

◆ type

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

Type of the block, always “heading”

Definition at line 7719 of file Types.h.


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