import { Api } from "https://dotland.deno.dev/x/grammy@v1.30.0/core/api.ts";
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.
Parameters
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
optional
other: Other<R, "editChatSubscriptionInviteLink", "chat_id" | "invite_link">Optional remaining parameters, confer the official reference below
Optional AbortSignal
to cancel the request
Official reference: https://core.telegram.org/bots/api#editchatsubscriptioninvitelink