PassportElementErrorSelfie

data class PassportElementErrorSelfie(source: String, type: String, file_hash: String, message: String) : PassportElementError

Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.

Constructors

PassportElementErrorSelfie
Link copied to clipboard
fun PassportElementErrorSelfie(source: String, type: String, file_hash: String, message: String)

Properties

file_hash
Link copied to clipboard
val file_hash: String
Base64-encoded hash of the file with the selfie
message
Link copied to clipboard
val message: String
Error message
source
Link copied to clipboard
val source: String
Error source, must be selfie
type
Link copied to clipboard
val type: String
The section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”