ApiMethods.editChatSubscriptionInviteLink(args: { chat_id: number | string; invite_link: string; name?: string; }): 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 ChatInviteLink object.