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

A mention by a username. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichTextMention>

Public Attributes

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

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A mention by a username.

Definition at line 12807 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 12808 of file Types.h.

Member Data Documentation

◆ text

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

The text.

Definition at line 12820 of file Types.h.

◆ TYPE

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

Definition at line 12810 of file Types.h.

◆ type

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

Type of the rich text, always “mention”

Definition at line 12815 of file Types.h.

◆ username

std::string TgBot::RichTextMention::username { }

The username.

Definition at line 12825 of file Types.h.


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