Check if a username is available
check_usernameVerify whether a desired Telegram channel or supergroup username is free. Prevent duplicate usernames by checking availability before claiming.
Instructions
Verify whether a desired channel/supergroup username is free.
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": {
"peer": "<peer>",
"username": "<username>"
},
"name": "check_username"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| username | Yes | ||
| accountId | No |