class Tourmaline::PassportElementErrorUnspecified
- Tourmaline::PassportElementErrorUnspecified
- Reference
- Object
Overview
Represents an issue in an unspecified place. The error is considered resolved when new data is added.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(source : String, type : String, element_hash : String, message : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#element_hash : String
Base64-encoded element hash
-
#element_hash=(element_hash : String)
Base64-encoded element hash
-
#message : String
Error message
-
#message=(message : String)
Error message
-
#source : String
Error source, must be unspecified
-
#source=(source : String)
Error source, must be unspecified
-
#type : String
Type of element of the user's Telegram Passport which has the issue
-
#type=(type : String)
Type of element of the user's Telegram Passport which has the issue
Constructor Detail
def self.new(source : String, type : String, element_hash : String, message : String)
#