[docs]classEditChatSubscriptionInviteLink(TelegramMethod[ChatInviteLink]):""" 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. Source: https://core.telegram.org/bots/api#editchatsubscriptioninvitelink """__returning__=ChatInviteLink__api_method__="editChatSubscriptionInviteLink"chat_id:Union[int,str]"""Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)"""invite_link:str"""The invite link to edit"""name:Optional[str]=None"""Invite link name; 0-32 characters"""ifTYPE_CHECKING:# DO NOT EDIT MANUALLY!!!# This section was auto-generated via `butcher`def__init__(__pydantic__self__,*,chat_id:Union[int,str],invite_link:str,name:Optional[str]=None,**__pydantic_kwargs:Any,)->None:# DO NOT EDIT MANUALLY!!!# This method was auto-generated via `butcher`# Is needed only for type checking and IDE support without any additional pluginssuper().__init__(chat_id=chat_id,invite_link=invite_link,name=name,**__pydantic_kwargs)