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

A custom emoji. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichTextCustomEmoji>

Public Attributes

std::string type { TYPE }
 Type of the rich text, always “custom_emoji”
std::string customEmojiId { }
 Unique identifier of the custom emoji. Use getCustomEmojiStickers to get full information about the sticker.
std::string alternativeText { }
 Alternative emoji for the custom emoji.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A custom emoji.

Definition at line 12619 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 12620 of file Types.h.

Member Data Documentation

◆ alternativeText

std::string TgBot::RichTextCustomEmoji::alternativeText { }

Alternative emoji for the custom emoji.

Definition at line 12638 of file Types.h.

◆ customEmojiId

std::string TgBot::RichTextCustomEmoji::customEmojiId { }

Unique identifier of the custom emoji. Use getCustomEmojiStickers to get full information about the sticker.

Definition at line 12633 of file Types.h.

◆ TYPE

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

Definition at line 12622 of file Types.h.

◆ type

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

Type of the rich text, always “custom_emoji”

Definition at line 12627 of file Types.h.


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