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.cr

Constructors

Instance Method Summary

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) #

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

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


[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]