Skip to content

class Tourmaline::PassportElementErrorFiles
inherits Reference #

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

Included modules

JSON::Serializable

Constructors#

.new(source, type, message, file_hashes : Array(String) = [] of String) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#file_hashes : Array(String) #

List of base64-encoded file hashes

View source

#file_hashes=(file_hashes : Array(String)) #

List of base64-encoded file hashes

View source

#message : String #

Error message

View source

#message=(message : String) #

Error message

View source

#source : String #

Error source, must be files

View source

#source=(source : String) #

Error source, must be files

View source

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

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

View source