class TD::Client::Config

Included Modules

Defined in:

telegram/client/config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new #

[View source]

Instance Method Detail

def api_hash : String #

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

[View source]
def api_id : Int32 #

[View source]
def api_id=(api_id : Int32) #

[View source]
def application_version : String #

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

[View source]
def bot_token : String #

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

[View source]
def database_directory : String #

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

[View source]
def device_model : String #

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

[View source]
def enable_storage_optimizer : Bool #

[View source]
def enable_storage_optimizer=(enable_storage_optimizer : Bool) #

[View source]
def files_directory : String #

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

[View source]
def ignore_file_names : Bool #

[View source]
def ignore_file_names=(ignore_file_names : Bool) #

[View source]
def login_as_bot : Bool #

[View source]
def login_as_bot=(login_as_bot : Bool) #

[View source]
def null_updates_sleep_interval : Float64 #

[View source]
def null_updates_sleep_interval=(null_updates_sleep_interval : Float64) #

[View source]
def phone_number : String #

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

[View source]
def request_timeout : Int32 #

[View source]
def request_timeout=(request_timeout : Int32) #

[View source]
def system_language_code : String #

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

[View source]
def system_version : String #

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

[View source]
def use_chat_info_database : Bool #

[View source]
def use_chat_info_database=(use_chat_info_database : Bool) #

[View source]
def use_file_database : Bool #

[View source]
def use_file_database=(use_file_database : Bool) #

[View source]
def use_message_database : Bool #

[View source]
def use_message_database=(use_message_database : Bool) #

[View source]
def use_secret_chats : Bool #

[View source]
def use_secret_chats=(use_secret_chats : Bool) #

[View source]
def use_test_dc : Bool #

[View source]
def use_test_dc=(use_test_dc : Bool) #

[View source]