abstract class TelegramBot::PassportElementError

Direct Known Subclasses

Defined in:

telegram_bot/types/passport_element_error.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.data_field(type : String, field_name : String, data_hash : String, message : String) #

def self.file(type : String, file_hash : String, message : String) #

def self.files(type : String, file_hashes : Array(String), message : String) #

def self.front_side(type : String, file_hash : String, message : String) #

def self.reverse_side(type : String, file_hash : String, message : String) #

def self.selfie(type : String, file_hash : String, message : String) #

def self.translation_file(type : String, file_hash : String, message : String) #

def self.translation_files(type : String, file_hashes : Array(String), message : String) #

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

Instance Method Detail

def to_json(json : JSON::Builder) #