MadelineProto/docs/API_docs/constructors/messages_botResults.md

920 B

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 Required
next_offset string Optional
switch_pm InlineBotSwitchPM Optional
results Array of BotInlineResult Required
cache_time int Required

Type: messages_BotResults

Example:

$messages_botResults = ['_' => 'messages.botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [Vector t], 'cache_time' => int, ];