class Telegram::API::PassportElementErrorDataField
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.
Defined in:
telegram/api/generated/types.crConstructors
- .new(source : String, type : String, field_name : String, data_hash : String, message : String)
-
.new(pull : JSON::PullParser)
Represents an issue in one of the data fields that was provided by the user.
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"
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
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.
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"