answerChatJoinRequestQuery
Approve, decline, or queue a Telegram chat join request by processing its unique query ID and returning success.
Instructions
Use this method to process a received chat join request query. Returns True on success.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_join_request_query_id": "<chat_join_request_query_id>",
"result": "<result>"
},
"name": "answerChatJoinRequestQuery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Result of the query. Must be either “approve” to allow the user to join the chat, “decline” to disallow the user to join the chat, or “queue” to leave the decision to other administrators. | |
| chat_join_request_query_id | Yes | Unique identifier of the join request query |