class Telegram::API::PassportElementErrorFiles

Overview

Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.

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, message : String, file_hashes : Array(String) = Array(String).new) #

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

Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.


[View source]

Instance Method Detail

def file_hashes : Array(String) #

List of base64-encoded file hashes


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

List of base64-encoded file hashes


[View source]
def message : String #

Error message


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

Error message


[View source]
def source : String #

Error source, must be files


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

Error source, must be files


[View source]
def type : String #

The section of the user's Telegram Passport which has the issue, one of "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"


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

The section of the user's Telegram Passport which has the issue, one of "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"


[View source]