1.6 KiB
1.6 KiB
title | description | image |
---|---|---|
inputBotInlineResultDocument | Bot inline result document | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputBotInlineResultDocument
Bot inline result document
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | ID |
type | string | Yes | Type |
title | string | Optional | Title |
description | string | Optional | Description |
document | MessageMedia, Message, Update or InputDocument | Optional | Document |
send_message | InputBotInlineMessage | Yes | Message to send |
Type: InputBotInlineResult
Example:
$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage];
PWRTelegram json-encoded version:
{"_": "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}