1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
messages.botResults | messages_botResults attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messages.botResults
Attributes:
Name | Type | Required |
---|---|---|
gallery | Bool | Optional |
query_id | long | Yes |
next_offset | string | Optional |
switch_pm | InlineBotSwitchPM | Optional |
results | Array of BotInlineResult | Yes |
cache_time | int | Yes |
Type: messages_BotResults
Example:
$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int];
PWRTelegram json-encoded version:
{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult], "cache_time": int}
Or, if you're into Lua:
messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int}