mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 10:26:53 +00:00
33 lines
1.6 KiB
JSON
33 lines
1.6 KiB
JSON
{
|
|
"meta": {},
|
|
"group": {
|
|
"title": "Available methods",
|
|
"anchor": "available-methods"
|
|
},
|
|
"object": {
|
|
"anchor": "setmyname",
|
|
"name": "setMyName",
|
|
"description": "Use this method to change the bot's name. Returns True on success.",
|
|
"html_description": "<p>Use this method to change the bot's name. Returns <em>True</em> on success.</p>",
|
|
"rst_description": "Use this method to change the bot's name. Returns :code:`True` on success.",
|
|
"annotations": [
|
|
{
|
|
"type": "String",
|
|
"required": false,
|
|
"description": "New bot name; 0-64 characters. Pass an empty string to remove the dedicated name for the given language.",
|
|
"html_description": "<td>New bot name; 0-64 characters. Pass an empty string to remove the dedicated name for the given language.</td>",
|
|
"rst_description": "New bot name; 0-64 characters. Pass an empty string to remove the dedicated name for the given language.\n",
|
|
"name": "name"
|
|
},
|
|
{
|
|
"type": "String",
|
|
"required": false,
|
|
"description": "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.",
|
|
"html_description": "<td>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.</td>",
|
|
"rst_description": "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.\n",
|
|
"name": "language_code"
|
|
}
|
|
],
|
|
"category": "methods"
|
|
}
|
|
}
|