TDLib v0.0.2 TDLib.Method.GetInlineQueryResults View Source
Sends an inline query to a bot and returns its results. Returns an error with code 502 if the bot fails to answer the query before the query timeout expires.
Returns object_ptr
Name | Type | Description |
---|---|---|
bot_user_id | number | The identifier of the target bot. |
chat_id | string | Identifier of the chat, where the query was sent. |
user_location | location | Location of the user, only if needed. |
query | string | Text of the query. |
offset | string | Offset of the first entry to return. |
More details on telegram’s documentation.