tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
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 photo. More...
#include <InlineQueryResult.hpp>
Public Member Functions | |
InlineQueryResultCachedSticker () | |
InlineQueryResultCachedSticker (const nl::json &json) | |
nl::json | toJson () const override |
void | fromJson (const nl::json &json) override |
Public Member Functions inherited from tgbotxx::InlineQueryResult | |
InlineQueryResult ()=default | |
InlineQueryResult (const nl::json &json) | |
Public Attributes | |
std::string | stickerFileId |
A valid file identifier of the sticker. More... | |
Ptr< InputMessageContent > | inputMessageContent |
Optional. Optional. Content of the message to be sent instead of the sticker. More... | |
Public Attributes inherited from tgbotxx::InlineQueryResult | |
std::string | type |
Type of the result. More... | |
std::string | id |
Unique identifier for this result, 1-64 bytes. More... | |
Ptr< InlineKeyboardMarkup > | replyMarkup |
Optional. Inline keyboard attached to the message. More... | |
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 photo.
Definition at line 1053 of file InlineQueryResult.hpp.
|
inline |
Definition at line 1054 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 1057 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1075 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1068 of file InlineQueryResult.hpp.
Ptr<InputMessageContent> tgbotxx::InlineQueryResultCachedSticker::inputMessageContent |
Optional. Optional. Content of the message to be sent instead of the sticker.
Definition at line 1065 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultCachedSticker::stickerFileId |
A valid file identifier of the sticker.
Definition at line 1062 of file InlineQueryResult.hpp.