class
Hamilton::Types::PassportElementErrorUnspecified
- Hamilton::Types::PassportElementErrorUnspecified
- Reference
- Object
Overview
Represents an issue in an unspecified place. The error is considered resolved when new data is added.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/passport_element_error.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
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.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#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.