MadelineProto/docs/TD_docs/constructors/inputInlineQueryResultDocument.md
2017-08-25 14:43:29 +02:00

1.4 KiB

title description
inputInlineQueryResultDocument Represents link to a file

Constructor: inputInlineQueryResultDocument

Back to constructors index

Represents link to a file

Attributes:

Name Type Required Description
id string Yes Unique identifier of this result
title string Yes Title of the result
description string Yes Short description of the result, if known
document_url string Yes Url of the file
mime_type string Yes MIME type of the file content, only “application/pdf” and “application/zip” are allowed now
thumb_url string Yes Url of the file thumb, if exists
thumb_width int Yes Width of the thumb
thumb_height int Yes Height of the thumb
reply_markup ReplyMarkup Yes Message reply markup, should be of type replyMarkupInlineKeyboard or null
input_message_content InputMessageContent Yes Content of the message to be sent, should be of type inputMessageText or inputMessageDocument or InputMessageLocation or InputMessageVenue or InputMessageContact

Type: InputInlineQueryResult