class Tourmaline::PassportElementErrorFile
- Tourmaline::PassportElementErrorFile
- Reference
- Object
Overview
Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(source : String, type : String, file_hash : String, message : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#file_hash : String
Base64-encoded file hash
-
#file_hash=(file_hash : String)
Base64-encoded file hash
-
#message : String
Error message
-
#message=(message : String)
Error message
-
#source : String
Error source, must be file
-
#source=(source : String)
Error source, must be file
-
#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"