{ "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": "

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.

", "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": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)", "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": "The invite link to edit", "rst_description": "The invite link to edit\n", "name": "invite_link" }, { "type": "String", "required": false, "description": "Invite link name; 0-32 characters", "html_description": "Invite link name; 0-32 characters", "rst_description": "Invite link name; 0-32 characters\n", "name": "name" } ], "category": "methods" } }