MadelineProtoDocs/old_docs/API_docs_v46/constructors/messages.botResults.md
2019-12-27 18:46:25 +01:00

1.2 KiB

title description image redirect_from
messages.botResults Result of a query to an inline bot https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/messages_botResults.html

Constructor: messages.botResults

Back to constructors index

Result of a query to an inline bot

Attributes:

Name Type Required Description
gallery Bool Optional Whether the result is a picture gallery
query_id long Yes Query ID
next_offset string Optional The next offset to use when navigating through results
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]];

Or, if you're into Lua:

messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', results={BotInlineResult}}