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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputRichBlockPreformatted>

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

Member Typedef Documentation

◆ Ptr

Definition at line 7656 of file Types.h.

Member Data Documentation

◆ language

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

Optional. The programming language of the text.

Definition at line 7673 of file Types.h.

◆ text

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

Text of the block.

Definition at line 7668 of file Types.h.

◆ TYPE

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

Definition at line 7658 of file Types.h.

◆ type

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

Type of the block, always “pre”

Definition at line 7663 of file Types.h.


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