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

Represents a link to a sticker stored on the Telegram servers. More...

#include <InlineQueryResultCachedSticker.h>

Inheritance diagram for TgBot::InlineQueryResultCachedSticker:
TgBot::InlineQueryResult

Public Types

typedef std::shared_ptr< InlineQueryResultCachedStickerPtr
 
- Public Types inherited from TgBot::InlineQueryResult
typedef std::shared_ptr< InlineQueryResultPtr
 

Public Member Functions

 InlineQueryResultCachedSticker ()
 
- Public Member Functions inherited from TgBot::InlineQueryResult
 InlineQueryResult ()
 
virtual ~InlineQueryResult ()
 

Public Attributes

std::string stickerFileId
 A valid file identifier of the sticker.
 
InputMessageContent::Ptr inputMessageContent
 Optional. Content of the message to be sent instead of the sticker.
 
- Public Attributes inherited from TgBot::InlineQueryResult
std::string type
 Type of the result.
 
std::string id
 Unique identifier for this result, 1-64 bytes.
 
InlineKeyboardMarkup::Ptr replyMarkup
 Optional. Inline keyboard attached to the message.
 

Static Public Attributes

static 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 inputMessageContent to send a message with the specified content instead of the sticker.

Definition at line 20 of file InlineQueryResultCachedSticker.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ InlineQueryResultCachedSticker()

TgBot::InlineQueryResultCachedSticker::InlineQueryResultCachedSticker ( )
inline

Definition at line 27 of file InlineQueryResultCachedSticker.h.

Member Data Documentation

◆ inputMessageContent

InputMessageContent::Ptr TgBot::InlineQueryResultCachedSticker::inputMessageContent

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

Definition at line 39 of file InlineQueryResultCachedSticker.h.

◆ stickerFileId

std::string TgBot::InlineQueryResultCachedSticker::stickerFileId

A valid file identifier of the sticker.

Definition at line 34 of file InlineQueryResultCachedSticker.h.

◆ TYPE

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

Definition at line 23 of file InlineQueryResultCachedSticker.h.


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