mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 16:47:24 +01:00
1.9 KiB
1.9 KiB
title | description |
---|---|
inputBotInlineResult | inputBotInlineResult attributes, type and example |
Constructor: inputBotInlineResult
Attributes:
Name | Type | Required |
---|---|---|
id | string | Yes |
type | string | Yes |
title | string | Optional |
description | string | Optional |
url | string | Optional |
thumb_url | string | Optional |
content_url | string | Optional |
content_type | string | Optional |
w | int | Optional |
h | int | Optional |
duration | int | Optional |
send_message | InputBotInlineMessage | Yes |
Type: InputBotInlineResult
Example:
$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage];
PWRTelegram json-encoded version:
{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage}
Or, if you're into Lua:
inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage}