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< RichTexttext { }
 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 13062 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 13063 of file Types.h.

Member Data Documentation

◆ text

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

The text.

Definition at line 13075 of file Types.h.

◆ TYPE

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

Definition at line 13065 of file Types.h.

◆ type

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

Type of the rich text, always “url”

Definition at line 13070 of file Types.h.

◆ url

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

URL of the link.

Definition at line 13080 of file Types.h.


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