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.
Поля
sourceString
Error source, must be data
typeString
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_nameString
Name of the data field which has the error
data_hashString
Base64-encoded data hash
messageString
Error message
Минимальный JSON
JSON
{
"source": "...",
"type": "private",
"field_name": "...",
"data_hash": "...",
"message": "..."
}