1#ifndef TGBOT_INLINEQUERYRESULTVOICE_H
2#define TGBOT_INLINEQUERYRESULTVOICE_H
26 static const std::string
TYPE;
28 typedef std::shared_ptr<InlineQueryResultVoice>
Ptr;
This object represents one result of an inline query.
std::string type
Type of the result.
Represents a link to a voice recording in an .OGG container encoded with OPUS.
std::string parseMode
Optional. Mode for parsing entities in the voice message caption.
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