1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
getInlineQueryResults | Sends inline query to a bot and returns its results. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Method: getInlineQueryResults
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Sends inline query to a bot and returns its results. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots
Parameters:
Name | Type | Description | Required |
---|---|---|---|
bot_user_id | int | Identifier of the bot send query to | Yes |
chat_id | int53 | Identifier of the chat, where the query is sent | Yes |
user_location | location | User location, only if needed | Yes |
query | string | Text of the query | Yes |
offset | string | Offset of the first entry to return | Yes |