class Telegram::API::PassportElementErrorUnspecified
Overview
Represents an issue in an unspecified place. The error is considered resolved when new data is added.
Defined in:
telegram/api/generated/types.crConstructors
- .new(source : String, type : String, element_hash : String, message : String)
-
.new(pull : JSON::PullParser)
Represents an issue in an unspecified place.
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
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
def self.new(source : String, type : String, element_hash : String, message : String)
#
def self.new(pull : JSON::PullParser)
#
Represents an issue in an unspecified place. The error is considered resolved when new data is added.