mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
* Added full support for the Bot API 9.2 * Mark butcher tool output files as linguist-generated in .gitattributes * Switch `send_date` type from `int` to `DateTime` in suggested post models
25 lines
1.4 KiB
JSON
Generated
25 lines
1.4 KiB
JSON
Generated
{
|
|
"meta": {},
|
|
"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). Channel direct messages chats aren't supported; leave the corresponding channel instead.",
|
|
"html_description": "<td>Unique identifier for the target chat or username of the target supergroup or channel (in the format <code>@channelusername</code>). Channel direct messages chats aren't supported; leave the corresponding channel instead.</td>",
|
|
"rst_description": "Unique identifier for the target chat or username of the target supergroup or channel (in the format :code:`@channelusername`). Channel direct messages chats aren't supported; leave the corresponding channel instead.\n",
|
|
"name": "chat_id"
|
|
}
|
|
],
|
|
"category": "methods"
|
|
}
|
|
}
|