1#ifndef TGBOT_INLINEQUERYRESULTDOCUMENT_H
2#define TGBOT_INLINEQUERYRESULTDOCUMENT_H
27 static const std::string
TYPE;
29 typedef std::shared_ptr<InlineQueryResultDocument>
Ptr;
Represents a link to a file.
std::string description
Optional. Short description of the result.
std::string title
Title for the result.
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the file.
std::int32_t thumbnailWidth
Optional. Thumbnail width.
std::string thumbnailUrl
Optional. URL of the thumbnail (JPEG only) for the file.
std::string mimeType
MIME type of the content of the file, either “application/pdf” or “application/zip”
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 parseMode
Optional. Mode for parsing entities in the document caption.
std::shared_ptr< InlineQueryResultDocument > Ptr
std::int32_t thumbnailHeight
Optional. Thumbnail height.
std::string caption
Optional. Caption of the document to be sent, 0-1024 characters after entities parsing.
std::string documentUrl
A valid URL for the file.
InlineQueryResultDocument()
This object represents one result of an inline query.
std::string type
Type of the result.
std::shared_ptr< InputMessageContent > Ptr