getMyName
Retrieve the current bot name for a specified user language using an ISO 639-1 code; use it to localize bot identity in grammY workflows.
Instructions
Use this method to get the current bot name for the given user language. Returns BotName on success.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getMyName"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language_code | No | A two-letter ISO 639-1 language code or an empty string |