class
TD::TdlibParameters
- TD::TdlibParameters
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/tdlib_parameters.crConstructors
- .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)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #api_hash : String
- #api_hash=(api_hash : String)
- #api_id : Int32
- #api_id=(api_id : Int32)
- #application_version : String
- #application_version=(application_version : String)
- #database_directory : String
- #database_directory=(database_directory : String)
- #device_model : String
- #device_model=(device_model : String)
- #enable_storage_optimizer : Bool
- #enable_storage_optimizer=(enable_storage_optimizer : Bool)
- #files_directory : String
- #files_directory=(files_directory : String)
- #ignore_file_names : Bool
- #ignore_file_names=(ignore_file_names : Bool)
- #object_type : String
- #object_type=(object_type : String)
- #system_language_code : String
- #system_language_code=(system_language_code : String)
- #system_version : String
- #system_version=(system_version : String)
- #use_chat_info_database : Bool
- #use_chat_info_database=(use_chat_info_database : Bool)
- #use_file_database : Bool
- #use_file_database=(use_file_database : Bool)
- #use_message_database : Bool
- #use_message_database=(use_message_database : Bool)
- #use_secret_chats : Bool
- #use_secret_chats=(use_secret_chats : Bool)
- #use_test_dc : Bool
- #use_test_dc=(use_test_dc : Bool)
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)
#