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

Represents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the sticker. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InlineQueryResultCachedSticker>

Public Attributes

std::string type { TYPE }
 Type of the result, must be sticker.
std::string id { }
 Unique identifier for this result, 1-64 bytes.
std::string stickerFileId { }
 A valid file identifier of the sticker.
std::shared_ptr< InlineKeyboardMarkupreplyMarkup { }
 Optional. Inline keyboard attached to the message.
std::shared_ptr< InputMessageContentinputMessageContent { }
 Optional. Content of the message to be sent instead of the sticker.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

Represents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the sticker.

Definition at line 4989 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 4990 of file Types.h.

Member Data Documentation

◆ id

std::string TgBot::InlineQueryResultCachedSticker::id { }

Unique identifier for this result, 1-64 bytes.

Definition at line 5002 of file Types.h.

◆ inputMessageContent

std::shared_ptr<InputMessageContent> TgBot::InlineQueryResultCachedSticker::inputMessageContent { }

Optional. Content of the message to be sent instead of the sticker.

Definition at line 5017 of file Types.h.

◆ replyMarkup

std::shared_ptr<InlineKeyboardMarkup> TgBot::InlineQueryResultCachedSticker::replyMarkup { }

Optional. Inline keyboard attached to the message.

Definition at line 5012 of file Types.h.

◆ stickerFileId

std::string TgBot::InlineQueryResultCachedSticker::stickerFileId { }

A valid file identifier of the sticker.

Definition at line 5007 of file Types.h.

◆ TYPE

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

Definition at line 4992 of file Types.h.

◆ type

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

Type of the result, must be sticker.

Definition at line 4997 of file Types.h.


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