PassportElementErrorDataField

data class PassportElementErrorDataField(source: String, type: String, field_name: String, data_hash: String, message: String) : PassportElementError

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.

Constructors

PassportElementErrorDataField
Link copied to clipboard
fun PassportElementErrorDataField(source: String, type: String, field_name: String, data_hash: String, message: String)

Properties

data_hash
Link copied to clipboard
val data_hash: String
Base64-encoded data hash
field_name
Link copied to clipboard
val field_name: String
Name of the data field which has the error
message
Link copied to clipboard
val message: String
Error message
source
Link copied to clipboard
val source: String
Error source, must be data
type
Link copied to clipboard
val type: String
The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”