class

Tourmaline::PassportElementErrorTranslationFiles

Inherits JSON::Serializable / Reference / Object

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

Constructors

new(source : String, type : String, message : String, file_hashes : Array(String) = [] of String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

file_hashes

List of base64-encoded file hashes

Source
file_hashes=(file_hashes : Array(String))

List of base64-encoded file hashes

Source
message

Error message

Source
message=(message : String)

Error message

Source
source

Error source, must be translation_files

Source
source=(source : String)

Error source, must be translation_files

Source
type

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"

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"

Source