class TD::TdlibParameters

Included Modules

Defined in:

telegram/types/tdlib_parameters.cr

Constructors

Instance Method Summary

Instance methods inherited from class TD::Base

extract_abstract_type(__json : JSON::Any) extract_abstract_type, extract_type(__json : JSON::Any, class_type : Class) extract_type

Macros inherited from class TD::Base

object_attributes(type) object_attributes, object_type(type) object_type

Constructor Detail

def self.new(database_directory : String, files_directory : String, api_id : Int32, api_hash : String, system_language_code : String, device_model : String, system_version : String, application_version : String, use_test_dc : Bool = false, use_file_database : Bool = false, use_chat_info_database : Bool = false, use_message_database : Bool = false, use_secret_chats : Bool = false, enable_storage_optimizer : Bool = false, ignore_file_names : Bool = false) #

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

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def api_hash : String #

def api_hash=(api_hash : String) #

def api_id : Int32 #

def api_id=(api_id : Int32) #

def application_version : String #

def application_version=(application_version : String) #

def database_directory : String #

def database_directory=(database_directory : String) #

def device_model : String #

def device_model=(device_model : String) #

def enable_storage_optimizer : Bool #

def enable_storage_optimizer=(enable_storage_optimizer : Bool) #

def files_directory : String #

def files_directory=(files_directory : String) #

def ignore_file_names : Bool #

def ignore_file_names=(ignore_file_names : Bool) #

def object_type : String #

def object_type=(object_type : String) #

def system_language_code : String #

def system_language_code=(system_language_code : String) #

def system_version : String #

def system_version=(system_version : String) #

def use_chat_info_database : Bool #

def use_chat_info_database=(use_chat_info_database : Bool) #

def use_file_database : Bool #

def use_file_database=(use_file_database : Bool) #

def use_message_database : Bool #

def use_message_database=(use_message_database : Bool) #

def use_secret_chats : Bool #

def use_secret_chats=(use_secret_chats : Bool) #

def use_test_dc : Bool #

def use_test_dc=(use_test_dc : Bool) #