Commit Graph

23 Commits

Author SHA1 Message Date
Andrea Cavalli a9860ca547 Update .gitmodules, TdApi.java, and 3 more files... 2020-05-14 22:24:49 +02:00
Andrea Cavalli 89fdbcd3cb Lock write bugfix 2020-05-13 16:25:19 +02:00
Andrea Cavalli c5066ddb30 Use the same arrays 2020-05-13 15:21:00 +02:00
Andrea Cavalli d10e0ebf50 Deprecated the unnamed BoundedExecutorService 2020-05-13 02:50:51 +02:00
Andrea Cavalli 6d508a4415 TelegramClient interface 2020-05-05 17:08:39 +02:00
Andrea Cavalli abd8a6b61f Update TdApi.java 2020-05-02 12:42:04 +02:00
Andrea Cavalli 6f8be2e376 Serializable TdApi 2020-05-02 02:02:18 +02:00
Andrea Cavalli 1457c731b9 Fixed initialization 2020-05-01 20:19:37 +02:00
Andrea Cavalli ff004e1ccd Bounded executor service 2020-05-01 00:31:27 +02:00
Andrea Cavalli 66589cb8a0 Update Client.java, td, and tdjni.so 2020-04-27 15:51:38 +02:00
Andrea Cavalli ff1091c001 TDLib 1.6.3 2020-04-25 13:08:10 +02:00
Andrea Cavalli 4f72741227 Updated to tdlib 1.6.2 2020-04-19 16:32:49 +02:00
Ernesto Castellotti 34f9865755 Implemented the methods to customize tdlib parameters
Now the EasyClient constructor does not directly start TDLib, you must always use the create() method (e.g. "var client = new BotClient("791655237:AAEs1bgsn9kL8jnj-aXSOEaGgZaTS_iXjkI").create();")
Now can be specified the name and lastname (only for UserClient) of the user to be used during registration through the UserClien constructor
2019-01-23 20:21:04 +01:00
Ernesto Castellotti 9904c2a203 Fix write mistake 2019-01-22 21:44:53 +01:00
Andrea Cavalli 7a6eb791f4 Implemented the choice of the first name/last name during registration to prevent the user from blocking telegram with the use of UserClient 2019-01-22 16:47:52 +01:00
Ernesto Castellotti e0db7e7f9c Setup new arch in java loadlibrary 2018-11-26 16:17:57 +01:00
Ernesto Castellotti ee56880bf6 Updated TdApi to new Tdlib (v1.3.0)
Fixed issue https://github.com/ErnyTech/JTDLib/issues/4
2018-11-20 18:27:45 +01:00
Ernesto Castellotti 002f52e55d Implemented new checks in authorizationHandler for check if bot token, phone number, code or password are invalid
Added password hint in password authorization

Check if EasyClient has the authorization before send request

Optimized execute in EasyClient

Implemented close and open for logout from TDLib e re-login

Now client can execute auto, just set logoutAtShutdown to true in initializer

Fix https://github.com/ErnyTech/JTDLib/issues/5
2018-11-19 17:59:57 +01:00
Ernesto Castellotti fbf8a495bb Use initCause when throw exceptions in Init process to pass the real reason for failure when loading TdLib
Fix https://github.com/ErnyTech/JTDLib/issues/2

Signed-off-by: Ernesto Castellotti <erny.castell@gmail.com>
2018-11-18 12:17:43 +01:00
Ernesto Castellotti 4092659f24 protected to public 2018-07-19 19:53:14 +02:00
ErnyTech 5c4a1d211f Updated docs for package description 2018-07-18 17:17:37 +02:00
ErnyTech b2023ea9fc Support for jitpack
- Support for jitpack
 - Updated docs
 - Added README
 - Added .gitignore
 - Clean up build.gralde
2018-07-18 17:02:05 +02:00
ErnyTech 9df39f368e Initial tdlib 2018-07-18 12:24:37 +02:00