class
Hamilton::Types::PassportElementErrorTranslationFiles
- Hamilton::Types::PassportElementErrorTranslationFiles
- Reference
- Object
Overview
Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.
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
-
#file_hash : Array(String)
Base64-encoded file hashes.
-
#file_hash=(file_hash : Array(String))
Base64-encoded file hashes.
-
#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 "translation_files".
-
#source=(source : String)
Error source, must be "translation_files".
-
#type : String
The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”.
-
#type=(type : String)
The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”.
The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”.