1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
messages.botResults | Bot results | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messages.botResults
Bot results
Attributes:
Name | Type | Required | Description |
---|---|---|---|
gallery | Bool | Optional | Gallery? |
query_id | long | Yes | Query ID |
next_offset | string | Optional | Next offset |
results | Array of BotInlineResult | Yes | Results |
Type: messages_BotResults
Example:
$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'results' => [BotInlineResult, BotInlineResult]];
PWRTelegram json-encoded version:
{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "results": [BotInlineResult]}
Or, if you're into Lua:
messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', results={BotInlineResult}}