Constructor: messages.botResults

Back to constructors index

Bot results


Name Type Required Description
gallery Bool Optional Gallery?
query_id long Yes Query ID
next_offset string Optional Next offset
switch_pm InlineBotSwitchPM Optional Switch pm
results Array of BotInlineResult Yes Results
cache_time int Yes Cache time
users Array of User Yes Users

Type: messages_BotResults


$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]];

Or, if you’re into Lua:

messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.