mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 05:34:42 +01:00
1.8 KiB
1.8 KiB
title | description |
---|---|
botInlineResult | botInlineResult attributes, type and example |
Constructor: botInlineResult
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 | BotInlineMessage | Yes |
Type: BotInlineResult
Example:
$botInlineResult = ['_' => 'botInlineResult', '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' => BotInlineMessage];
PWRTelegram json-encoded version:
{"_": "botInlineResult", "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": BotInlineMessage}
Or, if you're into Lua:
botInlineResult={_='botInlineResult', 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=BotInlineMessage}