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

A preformatted text block, corresponding to the nested HTML tags. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlockPreformatted>

Public Attributes

std::string type { TYPE }
 Type of the block, always “pre”
std::shared_ptr< RichTexttext { }
 Text of the block.
std::optional< std::string > language { }
 Optional. The programming language of the text.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A preformatted text block, corresponding to the nested HTML tags.

 and .

Definition at line 12107 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 12108 of file Types.h.

Member Data Documentation

◆ language

std::optional<std::string> TgBot::RichBlockPreformatted::language { }

Optional. The programming language of the text.

Definition at line 12125 of file Types.h.

◆ text

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

Text of the block.

Definition at line 12120 of file Types.h.

◆ TYPE

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

Definition at line 12110 of file Types.h.

◆ type

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

Type of the block, always “pre”

Definition at line 12115 of file Types.h.


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