Skip to content

PassportElementErrorDataField

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.

5 fields, 5 required.

Fields

source "data" Required
Error source, must be data.

type "personal_details" | "passport" | "driver_license" | "identity_card" | "internal_passport" | "address" Required
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_name string Required
Name of the data field which has the error.

data_hash string Required
Base64-encoded data hash.

message string Required
Error message.