1.7 KiB
1.7 KiB
title | description | image |
---|---|---|
inputBotInlineResult | inputBotInlineResult attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputBotInlineResult
Attributes:
Name | Type | Required |
---|---|---|
id | string | Yes |
type | string | Yes |
title | string | Optional |
description | string | Optional |
url | string | Optional |
thumb | InputWebDocument | Optional |
content | InputWebDocument | Optional |
send_message | InputBotInlineMessage | Yes |
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}