mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.4 KiB
1.4 KiB
title | description | nav_exclude | image |
---|---|---|---|
inputBotInlineResultDocument | Document (media of any type except for photos) | true | 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];