{
  "name": "editChatSubscriptionInviteLink",
  "anchor": "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."
  ],
  "table": {
    "headers": [
      "Parameter",
      "Type",
      "Required",
      "Description"
    ],
    "rows": [
      {
        "parameter": "chat_id",
        "type": "Integer or String",
        "required": "Yes",
        "description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername )"
      },
      {
        "parameter": "invite_link",
        "type": "String",
        "required": "Yes",
        "description": "The invite link to edit"
      },
      {
        "parameter": "name",
        "type": "String",
        "required": "Optional",
        "description": "Invite link name; 0-32 characters"
      }
    ]
  },
  "notes": []
}