1#ifndef TGBOT_INLINEQUERYRESULTCACHEDVOICE_H
2#define TGBOT_INLINEQUERYRESULTCACHEDVOICE_H
25 static const std::string
TYPE;
27 typedef std::shared_ptr<InlineQueryResultCachedVoice>
Ptr;
Represents a link to a voice message stored on the Telegram servers.
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the voice message.
InlineQueryResultCachedVoice()
std::shared_ptr< InlineQueryResultCachedVoice > Ptr
std::string caption
Optional. Caption, 0-1024 characters after entities parsing.
std::string parseMode
Optional. Mode for parsing entities in the voice message caption.
std::string voiceFileId
A valid file identifier for the voice message.
static const std::string TYPE
std::vector< MessageEntity::Ptr > captionEntities
Optional. List of special entities that appear in the caption, which can be specified instead of pars...
std::string title
Voice message title.
This object represents one result of an inline query.
std::string type
Type of the result.
std::shared_ptr< InputMessageContent > Ptr