set_passport_data_errors
Inform a Telegram user that their Passport data contains errors by sending error details for each problematic element, enabling them to correct the information.
Instructions
Inform a user that some Telegram Passport elements contain errors.
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": {
"user_id": "<user_id>"
},
"name": "set_passport_data_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| user_id | Yes | User ID |