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

A text covered by a spoiler. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichTextSpoiler>

Public Attributes

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

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A text covered by a spoiler.

Definition at line 12919 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 12920 of file Types.h.

Member Data Documentation

◆ text

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

The text.

Definition at line 12932 of file Types.h.

◆ TYPE

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

Definition at line 12922 of file Types.h.

◆ type

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

Type of the rich text, always “spoiler”

Definition at line 12927 of file Types.h.


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