class Tourmaline::PassportElementErrorDataField
- Tourmaline::PassportElementErrorDataField
- Reference
- Object
Overview
Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(source : String, type : String, field_name : String, data_hash : String, message : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#data_hash : String
Base64-encoded data hash
-
#data_hash=(data_hash : String)
Base64-encoded data hash
-
#field_name : String
Name of the data field which has the error
-
#field_name=(field_name : String)
Name of the data field which has the error
-
#message : String
Error message
-
#message=(message : String)
Error message
-
#source : String
Error source, must be data
-
#source=(source : String)
Error source, must be data
-
#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"
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"