mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-14 10:53:23 +00:00
* Re-generate types * Re-generate methods (only attributes) * Added enums * Base init generator * Added butcher configs * Fixed tests, bump butcher * Added changelog * Added enum docs * Added templates for docs index * Re-generate bot class, remove deprecated methods
27 lines
1.2 KiB
JSON
27 lines
1.2 KiB
JSON
{
|
|
"meta": {
|
|
"deprecated": false
|
|
},
|
|
"group": {
|
|
"title": "Available methods",
|
|
"anchor": "available-methods"
|
|
},
|
|
"object": {
|
|
"anchor": "leavechat",
|
|
"name": "leaveChat",
|
|
"description": "Use this method for your bot to leave a group, supergroup or channel. Returns True on success.",
|
|
"html_description": "<p>Use this method for your bot to leave a group, supergroup or channel. Returns <em>True</em> on success.</p>",
|
|
"rst_description": "Use this method for your bot to leave a group, supergroup or channel. Returns :code:`True` on success.",
|
|
"annotations": [
|
|
{
|
|
"type": "Integer or String",
|
|
"required": true,
|
|
"description": "Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)",
|
|
"html_description": "<td>Unique identifier for the target chat or username of the target supergroup or channel (in the format <code>@channelusername</code>)</td>",
|
|
"rst_description": "Unique identifier for the target chat or username of the target supergroup or channel (in the format :code:`@channelusername`)\n",
|
|
"name": "chat_id"
|
|
}
|
|
],
|
|
"category": "methods"
|
|
}
|
|
}
|