{
  "name": "PassportElementErrorDataField",
  "anchor": "passportelementerrordatafield",
  "description": [
    "Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes."
  ],
  "table": {
    "headers": [
      "Field",
      "Type",
      "Description"
    ],
    "rows": [
      {
        "field": "source",
        "type": "String",
        "description": "Error source, must be data"
      },
      {
        "field": "type",
        "type": "String",
        "description": "The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”"
      },
      {
        "field": "field_name",
        "type": "String",
        "description": "Name of the data field which has the error"
      },
      {
        "field": "data_hash",
        "type": "String",
        "description": "Base64-encoded data hash"
      },
      {
        "field": "message",
        "type": "String",
        "description": "Error message"
      }
    ]
  },
  "notes": []
}