MadelineProto/old_docs/API_docs_v45/constructors/messages_botResults.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.1 KiB

title description
messages.botResults messages_botResults attributes, type and example

Constructor: messages.botResults

Back to constructors index

Attributes:

Name Type Required
gallery Bool Optional
query_id long Yes
next_offset string Optional
results Array of BotInlineResult Yes

Type: messages_BotResults

Example:

$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'results' => [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}}