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