1#ifndef TGBOT_INLINEQUERYRESULTAUDIO_H
2#define TGBOT_INLINEQUERYRESULTAUDIO_H
26 static const std::string
TYPE;
28 typedef std::shared_ptr<InlineQueryResultAudio>
Ptr;
Represents a link to an MP3 audio file.
std::vector< MessageEntity::Ptr > captionEntities
Optional. List of special entities that appear in the caption, which can be specified instead of pars...
std::string audioUrl
A valid URL for the audio file.
std::shared_ptr< InlineQueryResultAudio > Ptr
std::int32_t audioDuration
Optional. Audio duration in seconds.
std::string parseMode
Optional. Mode for parsing entities in the audio caption.
static const std::string TYPE
std::string caption
Optional. Caption, 0-1024 characters after entities parsing.
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the audio.
std::string performer
Optional. Performer.
This object represents one result of an inline query.
std::string type
Type of the result.
std::shared_ptr< InputMessageContent > Ptr