PassportElementErrorFile

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

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

Constructors

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

Properties

file_hash
Link copied to clipboard
val file_hash: String
Base64-encoded file hash
message
Link copied to clipboard
val message: String
Error message
source
Link copied to clipboard
val source: String
Error source, must be file
type
Link copied to clipboard
val type: String
The section of the user's Telegram Passport which has the issue, one of “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”