TDLib v0.0.2 TDLib.Object.InputInlineQueryResultDocument View Source

Represents a link to a file.

NameTypeDescription
idstringUnique identifier of the query result.
titlestringTitle of the resulting file.
descriptionstringShort description of the result, if known.
document_urlstringURL of the file.
mime_typestringMIME type of the file content; only “application/pdf” and “application/zip” are currently allowed.
thumbnail_urlstringThe URL of the file thumbnail, if it exists.
thumbnail_widthnumberWidth of the thumbnail.
thumbnail_heightnumberHeight of the thumbnail.
reply_markupReplyMarkupThe message reply markup. Must be of type replyMarkupInlineKeyboard or null.
input_message_contentInputMessageContentThe 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.