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

A mention of a Telegram user by their identifier. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichTextTextMention>

Public Attributes

std::string type { TYPE }
 Type of the rich text, always “text_mention”
std::shared_ptr< RichText > text { }
 The text.
std::shared_ptr< User > user { }
 The mentioned user.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A mention of a Telegram user by their identifier.

Definition at line 12574 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 12575 of file Types.h.

Member Data Documentation

◆ text

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

The text.

Definition at line 12586 of file Types.h.

◆ TYPE

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

Definition at line 12577 of file Types.h.

◆ type

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

Type of the rich text, always “text_mention”

Definition at line 12582 of file Types.h.

◆ user

std::shared_ptr<User> TgBot::RichTextTextMention::user { }

The mentioned user.

Definition at line 12590 of file Types.h.


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