mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 21:46:55 +01:00
1.4 KiB
1.4 KiB
title | description |
---|---|
inputInlineQueryResultDocument | Represents link to a file |
Constructor: inputInlineQueryResultDocument
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 |