|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Represents a link to a voice message stored on the Telegram servers. By default, this voice message will be sent by the user. More...
#include <InlineQueryResult.hpp>
Public Member Functions | |
| InlineQueryResultCachedVoice () | |
| InlineQueryResultCachedVoice (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 | voiceFileId |
| A valid file identifier for the voice message. | |
| std::string | title |
| Voice message title. | |
| std::string | description |
| Optional. Short description of the result. | |
| std::string | caption |
| Optional. Caption of the voice to be sent, 0-1024 characters after entities parsing. | |
| std::string | parseMode |
| Optional. Mode for parsing entities in the voice caption. See formatting options for more details. | |
| std::vector< Ptr< MessageEntity > > | captionEntities |
| Optional. List of special entities that appear in the voice caption, which can be specified instead of parseMode. | |
| Ptr< InputMessageContent > | inputMessageContent |
| Optional. Content of the message to be sent instead of the voice. | |
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 voice message stored on the Telegram servers. By default, this voice message will be sent by the user.
Definition at line 1203 of file InlineQueryResult.hpp.
|
inline |
Definition at line 1204 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 1207 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1245 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 1233 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedVoice::caption |
Optional. Caption of the voice to be sent, 0-1024 characters after entities parsing.
Definition at line 1221 of file InlineQueryResult.hpp.
| std::vector<Ptr<MessageEntity> > tgbotxx::InlineQueryResultCachedVoice::captionEntities |
Optional. List of special entities that appear in the voice caption, which can be specified instead of parseMode.
Definition at line 1227 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedVoice::description |
Optional. Short description of the result.
Definition at line 1218 of file InlineQueryResult.hpp.
| Ptr<InputMessageContent> tgbotxx::InlineQueryResultCachedVoice::inputMessageContent |
Optional. Content of the message to be sent instead of the voice.
Definition at line 1230 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedVoice::parseMode |
Optional. Mode for parsing entities in the voice caption. See formatting options for more details.
Definition at line 1224 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedVoice::title |
Voice message title.
Definition at line 1215 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultCachedVoice::voiceFileId |
A valid file identifier for the voice message.
Definition at line 1212 of file InlineQueryResult.hpp.