TDLib v0.0.2 TDLib.Object.InputInlineQueryResultDocument View Source
Represents a link to a file.
Name | Type | Description |
---|---|---|
id | string | Unique identifier of the query result. |
title | string | Title of the resulting file. |
description | string | Short description of the result, if known. |
document_url | string | URL of the file. |
mime_type | string | MIME type of the file content; only “application/pdf” and “application/zip” are currently allowed. |
thumbnail_url | string | The URL of the file thumbnail, if it exists. |
thumbnail_width | number | Width of the thumbnail. |
thumbnail_height | number | Height of the thumbnail. |
reply_markup | ReplyMarkup | The message reply markup. Must be of type replyMarkupInlineKeyboard or null. |
input_message_content | InputMessageContent | The content of the message to be sent. Must be one of the following types: InputMessageText, InputMessageDocument, InputMessageLocation, InputMessageVenue or InputMessageContact. |
More details on telegram’s documentation.