Constructor: messages.botResults

Back to constructors index

Result of a query to an inline bot


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
switch_pm InlineBotSwitchPM Optional Whether the bot requested the user to message him in private
results Array of BotInlineResult Yes The results
cache_time int Yes Caching validity of the results
users Array of User Yes Users mentioned in the results

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.