class Tourmaline::PassportElementErrorFrontSide
- Tourmaline::PassportElementErrorFrontSide
- Reference
- Object
Overview
Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document 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 hash of the file with the front side of the document
-
#file_hash=(file_hash : String)
Base64-encoded hash of the file with the front side of the document
-
#message : String
Error message
-
#message=(message : String)
Error message
-
#source : String
Error source, must be front_side
-
#source=(source : String)
Error source, must be front_side
-
#type : String
The section of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport"
-
#type=(type : String)
The section of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport"
Constructor Detail
Instance Method Detail
Base64-encoded hash of the file with the front side of the document
The section of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport"
The section of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport"