class Tourmaline::PassportElementErrorUnspecified

Overview

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

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : String, type : String, element_hash : String, message : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def element_hash : String #

Base64-encoded element hash


[View source]
def element_hash=(element_hash : String) #

Base64-encoded element hash


[View source]
def message : String #

Error message


[View source]
def message=(message : String) #

Error message


[View source]
def source : String #

Error source, must be unspecified


[View source]
def source=(source : String) #

Error source, must be unspecified


[View source]
def type : String #

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


[View source]
def type=(type : String) #

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


[View source]