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< RichTexttext { }
 The text.
std::shared_ptr< Useruser { }
 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 13011 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 13012 of file Types.h.

Member Data Documentation

◆ text

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

The text.

Definition at line 13024 of file Types.h.

◆ TYPE

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

Definition at line 13014 of file Types.h.

◆ type

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

Type of the rich text, always “text_mention”

Definition at line 13019 of file Types.h.

◆ user

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

The mentioned user.

Definition at line 13029 of file Types.h.


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