|
tgbot-cpp
|
Represents a link to an MP3 audio file stored on the Telegram servers. More...
#include <InlineQueryResultCachedAudio.h>
Public Types | |
| typedef std::shared_ptr< InlineQueryResultCachedAudio > | Ptr |
| Public Types inherited from TgBot::InlineQueryResult | |
| typedef std::shared_ptr< InlineQueryResult > | Ptr |
Public Member Functions | |
| InlineQueryResultCachedAudio () | |
| Public Member Functions inherited from TgBot::InlineQueryResult | |
| InlineQueryResult () | |
| virtual | ~InlineQueryResult () |
Public Attributes | |
| std::string | audioFileId |
| A valid file identifier for the audio file. | |
| std::string | caption |
| Optional. Caption, 0-1024 characters after entities parsing. | |
| std::string | parseMode |
| Optional. Mode for parsing entities in the audio caption. | |
| std::vector< MessageEntity::Ptr > | captionEntities |
| Optional. List of special entities that appear in the caption, which can be specified instead of parseMode. | |
| InputMessageContent::Ptr | inputMessageContent |
| Optional. Content of the message to be sent instead of the audio. | |
| 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 |
Represents a link to an MP3 audio file stored on the Telegram servers.
By default, this audio file will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the audio.
Definition at line 22 of file InlineQueryResultCachedAudio.h.
| typedef std::shared_ptr<InlineQueryResultCachedAudio> TgBot::InlineQueryResultCachedAudio::Ptr |
Definition at line 27 of file InlineQueryResultCachedAudio.h.
|
inline |
Definition at line 29 of file InlineQueryResultCachedAudio.h.
| std::string TgBot::InlineQueryResultCachedAudio::audioFileId |
A valid file identifier for the audio file.
Definition at line 36 of file InlineQueryResultCachedAudio.h.
| std::string TgBot::InlineQueryResultCachedAudio::caption |
Optional. Caption, 0-1024 characters after entities parsing.
Definition at line 41 of file InlineQueryResultCachedAudio.h.
| std::vector<MessageEntity::Ptr> TgBot::InlineQueryResultCachedAudio::captionEntities |
Optional. List of special entities that appear in the caption, which can be specified instead of parseMode.
Definition at line 53 of file InlineQueryResultCachedAudio.h.
| InputMessageContent::Ptr TgBot::InlineQueryResultCachedAudio::inputMessageContent |
Optional. Content of the message to be sent instead of the audio.
Definition at line 58 of file InlineQueryResultCachedAudio.h.
| std::string TgBot::InlineQueryResultCachedAudio::parseMode |
Optional. Mode for parsing entities in the audio caption.
See formatting options for more details.
Definition at line 48 of file InlineQueryResultCachedAudio.h.
|
static |
Definition at line 25 of file InlineQueryResultCachedAudio.h.