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 input_message_content to send a message with the specified content instead of the audio.
More...
#include <Types.h>
|
| std::string | type { TYPE } |
| | Type of the result, must be audio.
|
| std::string | id { } |
| | Unique identifier for this result, 1-64 bytes.
|
| std::string | audioFileId { } |
| | A valid file identifier for the audio file.
|
| std::optional< std::string > | caption { } |
| | Optional. Caption, 0-1024 characters after entities parsing.
|
| std::optional< std::string > | parseMode { } |
| | Optional. Mode for parsing entities in the audio caption. See formatting options for more details.
|
| std::optional< std::vector< std::shared_ptr< MessageEntity > > > | captionEntities { } |
| | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode.
|
| std::shared_ptr< InlineKeyboardMarkup > | replyMarkup { } |
| | Optional. Inline keyboard attached to the message.
|
| std::shared_ptr< InputMessageContent > | inputMessageContent { } |
| | Optional. Content of the message to be sent instead of the audio.
|
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 input_message_content to send a message with the specified content instead of the audio.
Definition at line 4657 of file Types.h.
◆ Ptr
◆ audioFileId
| std::string TgBot::InlineQueryResultCachedAudio::audioFileId { } |
A valid file identifier for the audio file.
Definition at line 4675 of file Types.h.
◆ caption
| std::optional<std::string> TgBot::InlineQueryResultCachedAudio::caption { } |
Optional. Caption, 0-1024 characters after entities parsing.
Definition at line 4680 of file Types.h.
◆ captionEntities
| std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::InlineQueryResultCachedAudio::captionEntities { } |
Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode.
Definition at line 4692 of file Types.h.
◆ id
| std::string TgBot::InlineQueryResultCachedAudio::id { } |
Unique identifier for this result, 1-64 bytes.
Definition at line 4670 of file Types.h.
◆ inputMessageContent
| std::shared_ptr<InputMessageContent> TgBot::InlineQueryResultCachedAudio::inputMessageContent { } |
Optional. Content of the message to be sent instead of the audio.
Definition at line 4702 of file Types.h.
◆ parseMode
| std::optional<std::string> TgBot::InlineQueryResultCachedAudio::parseMode { } |
Optional. Mode for parsing entities in the audio caption. See formatting options for more details.
Definition at line 4686 of file Types.h.
◆ replyMarkup
Optional. Inline keyboard attached to the message.
Definition at line 4697 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::InlineQueryResultCachedAudio::TYPE |
|
static |
◆ type
| std::string TgBot::InlineQueryResultCachedAudio::type { TYPE } |
Type of the result, must be audio.
Definition at line 4665 of file Types.h.
The documentation for this struct was generated from the following file: