1#ifndef TGBOT_INLINEQUERYRESULTVOICE_H
2#define TGBOT_INLINEQUERYRESULTVOICE_H
24 static const std::string
TYPE;
26 typedef std::shared_ptr<InlineQueryResultVoice>
Ptr;
This abstract class is base of all inline query results.
std::string type
Type of the result.
Represents a link to a voice recording in an .OGG container encoded with OPUS. By default,...
std::string parseMode
Optional. Mode for parsing entities in the voice message caption. See https://core....
std::shared_ptr< InlineQueryResultVoice > Ptr
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the voice recording.
std::string caption
Optional. Caption, 0-1024 characters after entities parsing.
std::int32_t voiceDuration
Optional. Recording duration in seconds.
std::string title
Recording title.
std::vector< MessageEntity::Ptr > captionEntities
Optional. List of special entities that appear in the caption, which can be specified instead of pars...
static const std::string TYPE
std::string voiceUrl
A valid URL for the voice recording.
std::shared_ptr< InputMessageContent > Ptr