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

A monowidth text. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichTextCode>

Public Attributes

std::string type { TYPE }
 Type of the rich text, always “code”
std::shared_ptr< RichTexttext { }
 The text.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A monowidth text.

Definition at line 12596 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::RichTextCode::Ptr = std::shared_ptr<RichTextCode>

Definition at line 12597 of file Types.h.

Member Data Documentation

◆ text

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

The text.

Definition at line 12609 of file Types.h.

◆ TYPE

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

Definition at line 12599 of file Types.h.

◆ type

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

Type of the rich text, always “code”

Definition at line 12604 of file Types.h.


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