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< RichText > text { }
 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 11612 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 11613 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 11629 of file Types.h.

◆ text

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

The link text.

Definition at line 11624 of file Types.h.

◆ TYPE

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

Definition at line 11615 of file Types.h.

◆ type

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

Type of the rich text, always “anchor_link”

Definition at line 11620 of file Types.h.


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