1.7 KiB
1.7 KiB
title | description | image |
---|---|---|
inputBotInlineResult | Bot inline result | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputBotInlineResult
Bot inline result
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | ID |
type | string | Yes | Type |
title | string | Optional | Title |
description | string | Optional | Description |
url | string | Optional | URL |
thumb | InputWebDocument | Optional | Thumbnail |
content | InputWebDocument | Optional | Content |
send_message | InputBotInlineMessage | Yes | Message to send |
Type: InputBotInlineResult
Example:
$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => InputWebDocument, 'content' => InputWebDocument, 'send_message' => InputBotInlineMessage];
PWRTelegram json-encoded version:
{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb": InputWebDocument, "content": InputWebDocument, "send_message": InputBotInlineMessage}
Or, if you're into Lua:
inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb=InputWebDocument, content=InputWebDocument, send_message=InputBotInlineMessage}