mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Bot API 7.9 (#1560)
* Added full support of Bot API 7.9 * Added changelog * Try to fix towncrier * Fixed towncrier check
This commit is contained in:
parent
1c323ecc97
commit
c3a08664d3
48 changed files with 817 additions and 114 deletions
41
.butcher/methods/editChatSubscriptionInviteLink/entity.json
Normal file
41
.butcher/methods/editChatSubscriptionInviteLink/entity.json
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Available methods",
|
||||
"anchor": "available-methods"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "editchatsubscriptioninvitelink",
|
||||
"name": "editChatSubscriptionInviteLink",
|
||||
"description": "Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator rights. Returns the edited invite link as a ChatInviteLink object.",
|
||||
"html_description": "<p>Use this method to edit a subscription invite link created by the bot. The bot must have the <em>can_invite_users</em> administrator rights. Returns the edited invite link as a <a href=\"#chatinvitelink\">ChatInviteLink</a> object.</p>",
|
||||
"rst_description": "Use this method to edit a subscription invite link created by the bot. The bot must have the *can_invite_users* administrator rights. Returns the edited invite link as a :class:`aiogram.types.chat_invite_link.ChatInviteLink` object.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer or String",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
|
||||
"html_description": "<td>Unique identifier for the target chat or username of the target channel (in the format <code>@channelusername</code>)</td>",
|
||||
"rst_description": "Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)\n",
|
||||
"name": "chat_id"
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"required": true,
|
||||
"description": "The invite link to edit",
|
||||
"html_description": "<td>The invite link to edit</td>",
|
||||
"rst_description": "The invite link to edit\n",
|
||||
"name": "invite_link"
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"required": false,
|
||||
"description": "Invite link name; 0-32 characters",
|
||||
"html_description": "<td>Invite link name; 0-32 characters</td>",
|
||||
"rst_description": "Invite link name; 0-32 characters\n",
|
||||
"name": "name"
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue