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

A link to an anchor. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichTextAnchorLink>

Public Attributes

std::string type { TYPE }
 Type of the rich text, always “anchor_link”
std::shared_ptr< RichTexttext { }
 The link text.
std::string anchorName { }
 The name of the anchor. If the name is empty, then the link brings back to the top of the message.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A link to an anchor.

Definition at line 12460 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 12461 of file Types.h.

Member Data Documentation

◆ anchorName

std::string TgBot::RichTextAnchorLink::anchorName { }

The name of the anchor. If the name is empty, then the link brings back to the top of the message.

Definition at line 12479 of file Types.h.

◆ text

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

The link text.

Definition at line 12473 of file Types.h.

◆ TYPE

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

Definition at line 12463 of file Types.h.

◆ type

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

Type of the rich text, always “anchor_link”

Definition at line 12468 of file Types.h.


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