1.5 KiB
1.5 KiB
title | description | image |
---|---|---|
inputBotInlineResultDocument | Document (media of any type except for photos) | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputBotInlineResultDocument
Document (media of any type except for photos)
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Result ID |
type | string | Yes | Result type (see bot API docs) |
title | string | Optional | Result title |
description | string | Optional | Result description |
document | MessageMedia, Message, Update or InputDocument | Optional | Document to send |
send_message | InputBotInlineMessage | Yes | Message to send when the result is selected |
Type: InputBotInlineResult
Example:
$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage];
Or, if you're into Lua:
inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage}