Skip to content

class Tourmaline::PassportElementErrorTranslationFile
inherits Reference #

Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.

Included modules

JSON::Serializable

Constructors#

.new(source, type, file_hash, message) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#file_hash : String #

Base64-encoded file hash

View source

#file_hash=(file_hash : String) #

Base64-encoded file hash

View source

#message : String #

Error message

View source

#message=(message : String) #

Error message

View source

#source : String #

Error source, must be translation_file

View source

#source=(source : String) #

Error source, must be translation_file

View source

#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"

View source

#type=(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"

View source