{
  "name": "editUserStarSubscription",
  "anchor": "edituserstarsubscription",
  "description": [
    "Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns True on success."
  ],
  "table": {
    "headers": [
      "Parameter",
      "Type",
      "Required",
      "Description"
    ],
    "rows": [
      {
        "parameter": "user_id",
        "type": "Integer",
        "required": "Yes",
        "description": "Identifier of the user whose subscription will be edited"
      },
      {
        "parameter": "telegram_payment_charge_id",
        "type": "String",
        "required": "Yes",
        "description": "Telegram payment identifier for the subscription"
      },
      {
        "parameter": "is_canceled",
        "type": "Boolean",
        "required": "Yes",
        "description": "Pass True to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass False to allow the user to re-enable a subscription that was previously canceled by the bot."
      }
    ]
  },
  "notes": []
}