class

Tourmaline::PassportElementErrorFiles

Inherits JSON::Serializable / Reference / Object

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

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 files

Source
source=(source : String)

Error source, must be files

Source
type

The section of the user's Telegram Passport which has the issue, one of "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"

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

Source