class Tourmaline::PassportElementErrorFiles
- Tourmaline::PassportElementErrorFiles
- Reference
- Object
Overview
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
Defined in:
tourmaline/types/api.crConstructors
- .new(source : String, type : String, message : String, file_hashes : Array(String) = [] of String)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#file_hashes : Array(String)
List of base64-encoded file hashes
-
#file_hashes=(file_hashes : Array(String))
List of base64-encoded file hashes
-
#message : String
Error message
-
#message=(message : String)
Error message
-
#source : String
Error source, must be files
-
#source=(source : String)
Error source, must be files
-
#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"
-
#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"
Constructor Detail
Instance Method Detail
The section of the user's Telegram Passport which has the issue, one of "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"
The section of the user's Telegram Passport which has the issue, one of "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"