PassportElementErrorFiles

data class PassportElementErrorFiles(source: String, type: String, file_hashes: List<String>, message: String) : PassportElementError

Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.

Constructors

PassportElementErrorFiles
Link copied to clipboard
fun PassportElementErrorFiles(source: String, type: String, file_hashes: List<String>, message: String)

Properties

file_hashes
Link copied to clipboard
val file_hashes: List<String>
List of base64-encoded file hashes
message
Link copied to clipboard
val message: String
Error message
source
Link copied to clipboard
val source: String
Error source, must be files
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”