PassportElementErrorTranslationFiles

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

Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.

Constructors

PassportElementErrorTranslationFiles
Link copied to clipboard
fun PassportElementErrorTranslationFiles(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 translation_files
type
Link copied to clipboard
val type: String
Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”