Resolve a Telegram username
resolve_usernameResolve a Telegram @username to a user, channel, or chat. Provide the username with or without @ to get its details.
Instructions
Look up a user, channel, or chat by @username.
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": {
"username": "<username>"
},
"name": "resolve_username"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | With or without the leading @ | |
| accountId | No |