mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-11 22:59:37 +01:00
1.0 KiB
1.0 KiB
title | description |
---|---|
messages.botResults | messages_botResults attributes, type and example |
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 |
Type: messages_BotResults
Example:
$messages_botResults = ['_' => 'messages.botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ];
Or, if you're into Lua:
messages_botResults={_='messages.botResults', gallery=true, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, }