setMyName
Change the Telegram bot's name globally or for a specific language code; returns True on success.
Instructions
Use this method to change the bot's name. 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": {
"name": "<name>"
},
"name": "setMyName"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New bot name; 0-64 characters. Pass an empty string to remove the dedicated name for the given language. | |
| language_code | No | A two-letter ISO 639-1 language code. If empty, the name will be shown to all users for whose language there is no dedicated name. |