bots.answerWebhookJSONQuery
Answers a custom query; for bots only
Example
TL schema
Parameters
Name | Type | Description |
query_id | Identifier of a custom query | |
data | JSON-serialized answer to the query |
Result
Possible errors
Code | Type | Description |
400 | QUERY_ID_INVALID | The query ID is invalid |
400 | USER_BOT_INVALID | This method can only be called by a bot |
Can bots use this methd ?
yes
Related pages
Last updated