Represents a link to an MP3 audio file. 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 | audioUrl { } |
| | A valid URL for the audio file.
|
| std::string | title { } |
| | Title.
|
| 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::optional< std::string > | performer { } |
| | Optional. Performer.
|
| std::optional< std::int32_t > | audioDuration { } |
| | Optional. Audio duration in seconds.
|
| 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. 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 4585 of file Types.h.
◆ Ptr
◆ audioDuration
| std::optional<std::int32_t> TgBot::InlineQueryResultAudio::audioDuration { } |
◆ audioUrl
| std::string TgBot::InlineQueryResultAudio::audioUrl { } |
A valid URL for the audio file.
Definition at line 4603 of file Types.h.
◆ caption
| std::optional<std::string> TgBot::InlineQueryResultAudio::caption { } |
Optional. Caption, 0-1024 characters after entities parsing.
Definition at line 4613 of file Types.h.
◆ captionEntities
| std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::InlineQueryResultAudio::captionEntities { } |
Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode.
Definition at line 4625 of file Types.h.
◆ id
| std::string TgBot::InlineQueryResultAudio::id { } |
Unique identifier for this result, 1-64 bytes.
Definition at line 4598 of file Types.h.
◆ inputMessageContent
Optional. Content of the message to be sent instead of the audio.
Definition at line 4645 of file Types.h.
◆ parseMode
| std::optional<std::string> TgBot::InlineQueryResultAudio::parseMode { } |
Optional. Mode for parsing entities in the audio caption. See formatting options for more details.
Definition at line 4619 of file Types.h.
◆ performer
| std::optional<std::string> TgBot::InlineQueryResultAudio::performer { } |
Optional. Performer.
Definition at line 4630 of file Types.h.
◆ replyMarkup
Optional. Inline keyboard attached to the message.
Definition at line 4640 of file Types.h.
◆ title
| std::string TgBot::InlineQueryResultAudio::title { } |
◆ TYPE
| TGBOT_API const std::string TgBot::InlineQueryResultAudio::TYPE |
|
static |
◆ type
| std::string TgBot::InlineQueryResultAudio::type { TYPE } |
Type of the result, must be audio.
Definition at line 4593 of file Types.h.
The documentation for this struct was generated from the following file: