|
tgbotxx 1.1.9.2
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) | |
| virtual | ~InlineQueryResult ()=default |
Public Attributes | |
| std::string | stickerFileId |
| A valid file identifier of the sticker. | |
| Ptr< InputMessageContent > | inputMessageContent |
| Optional. Optional. Content of the message to be sent instead of the sticker. | |
Public Attributes inherited from tgbotxx::InlineQueryResult | |
| std::string | type |
| Type of the result. | |
| std::string | id |
| Unique identifier for this result, 1-64 bytes. | |
| Ptr< InlineKeyboardMarkup > | replyMarkup |
| Optional. Inline keyboard attached to the message. | |
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 1054 of file InlineQueryResult.hpp.
|
inline |
Definition at line 1055 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 1058 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1076 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1069 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 1066 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedSticker::stickerFileId |
A valid file identifier of the sticker.
Definition at line 1063 of file InlineQueryResult.hpp.