Update own @username
update_my_usernameSet or clear your Telegram account's public username. Pass an empty string to remove it.
Instructions
Set or clear (empty string) own public 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": "update_my_username"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | ||
| accountId | No |