Commit Graph

15 Commits

Author SHA1 Message Date
danogentili
947a1a973f Cleaned up TL class, cleaned up API and APIFactory class, fixed bugs in the DataCenter class, fixed getting and setting of time deltas. 2016-11-17 13:49:32 +03:00
danogentili
e6093e65ac Fixed APIFactory, allowed reading of settings from the API class, changed the way of passing arguments to methods with the API (and APIFactory) class. 2016-11-16 17:37:27 +03:00
danogentili
b28aab6359 Fixed typo in the license warning 2016-11-16 17:18:35 +03:00
danogentili
1ded657739 Added APIFactory for calling namespaced mtproto methods, cleaned up testing.php and API.php, moved authorization keys, session_id, seq_no and time delta to the Connection class, added close_and_reopen method to the Connection class, improved DataCenter class, renamed Logging class to Logger, added a bit more logging, added setup_logger, switch_dc, init_authorization methods to the MTProto class, added parameter to disable automatic switching to nearest DC in write_client_info, added a try catch block in the create_auth_key method, fixed switching of DCs in wait_for_response method, added arguments check in the method calling methods, added a message id check in MessageHandler, added method_name_namespaced array in TL for APIFactory, renamed a lot of stuff and removed a few checks in the TL class, moved sendCode test call to testing.php 2016-11-16 17:05:27 +03:00
danogentili
b0a0e6d70c save 2016-09-24 17:58:17 +02:00
Daniil Gentili
0489abba48 Applied fixes from StyleCI 2016-09-12 20:28:44 +00:00
Daniil Gentili
8366d2c3b6 Reorganized even more code 2016-09-12 22:28:27 +02:00
danogentili
90af9857ff Added tests, added layer 55 json 2016-08-09 22:28:50 +02:00
danogentili
741f166640 Reorganized code 2016-08-08 18:10:13 +02:00
Daniil Gentili
36c69a5dd8 Applied fixes from StyleCI 2016-08-07 17:23:30 -04:00
danogentili
4a8826bdad Started to reorganize class 2016-08-07 23:23:10 +02:00
danogentili
b3bfacea85 Fixed serialization/deserialization, now fixing mess in prime number generation module... 2016-07-18 17:11:37 +02:00
Daniil Gentili
2187acbf09 Applied fixes from StyleCI 2016-07-14 09:15:50 -04:00
danogentili
8ddbfecc43 Translating... 2016-06-26 14:53:16 +02:00
danogentili
b5326b4cbb Let the madness begin! 2016-06-23 23:51:08 +02:00