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

A text with a link. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichTextUrl>

Public Attributes

std::string type { TYPE }
 Type of the rich text, always “url”
std::shared_ptr< RichText > text { }
 The text.
std::string url { }
 URL of the link.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A text with a link.

Definition at line 12199 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 12200 of file Types.h.

Member Data Documentation

◆ text

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

The text.

Definition at line 12211 of file Types.h.

◆ TYPE

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

Definition at line 12202 of file Types.h.

◆ type

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

Type of the rich text, always “url”

Definition at line 12207 of file Types.h.

◆ url

std::string TgBot::RichTextUrl::url { }

URL of the link.

Definition at line 12215 of file Types.h.


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