Skip to content

class Tourmaline::PassportElementErrorUnspecified
inherits Reference #

Represents an issue in an unspecified place. The error is considered resolved when new data is added.

Included modules

JSON::Serializable

Constructors#

.new(source, type, element_hash, message) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#element_hash : String #

Base64-encoded element hash

View source

#element_hash=(element_hash : String) #

Base64-encoded element hash

View source

#message : String #

Error message

View source

#message=(message : String) #

Error message

View source

#source : String #

Error source, must be unspecified

View source

#source=(source : String) #

Error source, must be unspecified

View source

#type : String #

Type of element of the user's Telegram Passport which has the issue

View source

#type=(type : String) #

Type of element of the user's Telegram Passport which has the issue

View source