1
0
forked from ErnyTech/JTDLib
Commit Graph

104 Commits

Author SHA1 Message Date
aa97f5a7c6 Update BoundedExecutorServiceImpl.java 2020-05-26 12:51:08 +02:00
630b629bea Update td and tdjni.so 2020-05-25 15:52:18 +02:00
9a0bdf67e2 Update td and tdjni.so 2020-05-25 00:50:18 +02:00
380d226a1b Update TdApi.java, td, and tdjni.so 2020-05-23 20:18:58 +02:00
b875651fb8 Update td and tdjni.so 2020-05-23 19:36:21 +02:00
2ec9844d33 Update td and tdjni.so 2020-05-23 02:50:01 +02:00
f3756d12b6 Update td and tdjni.so 2020-05-21 20:24:00 +02:00
8ca9f4c48d Updated JTDLib 2020-05-20 23:17:47 +02:00
6c5b3a2ea0 Free memory 2020-05-19 01:12:31 +02:00
b495a1aa1a Updated to 2.164.0 and optimized tdlib footprint 2020-05-18 22:26:07 +02:00
d2778d8fd4 Update .gitignore 2020-05-18 22:17:57 +02:00
01d427619e Update td and tdjni.so 2020-05-15 03:29:34 +02:00
2452897e73 Update td and tdjni.so 2020-05-14 22:50:20 +02:00
3c2a352e25 Update .gitmodules, TdApi.java, and 3 more files... 2020-05-14 22:24:49 +02:00
87b2fc4870 Lock write bugfix 2020-05-13 16:25:19 +02:00
7bedd243c7 Use the same arrays 2020-05-13 15:21:00 +02:00
8633d255ef Deprecated the unnamed BoundedExecutorService 2020-05-13 02:50:51 +02:00
49d9230d05 TelegramClient interface 2020-05-05 17:08:39 +02:00
3b4b1ba02a Update TdApi.java 2020-05-02 12:42:04 +02:00
257244d7fc Serializable TdApi 2020-05-02 02:02:18 +02:00
bbdf6fbe4e Fixed initialization 2020-05-01 20:19:37 +02:00
bd3f356cf4 Update tdjni.so 2020-05-01 18:42:45 +02:00
a15a8c341d Bounded executor service 2020-05-01 00:31:27 +02:00
0e1b0afac2 Update td and tdjni.so 2020-04-27 23:44:23 +02:00
060ad1d18a Update td and tdjni.so 2020-04-27 23:09:28 +02:00
5ae11dcb0a Update td and tdjni.so 2020-04-27 21:54:35 +02:00
ce599d657c Updated to 2.163.1 2020-04-27 18:36:19 +02:00
160cf5a038 Update td and tdjni.so 2020-04-27 16:06:40 +02:00
dfd7362cb9 Update Client.java, td, and tdjni.so 2020-04-27 15:51:38 +02:00
3de2d72bc0 Update tdjni.so 2020-04-27 13:07:03 +02:00
c54217692d Preparing for update 2020-04-27 13:04:43 +02:00
dc1c910b52 TDLib 1.6.3 2020-04-25 13:08:10 +02:00
9ae7af40c8 Update tdjni.so aarch64 2020-04-21 02:24:06 +02:00
dc40e3619a Updated to tdlib 1.6.2 2020-04-19 16:32:49 +02:00
Ernesto Castellotti
27c45df3d5 Set our packages name 2019-01-24 19:14:43 +01:00
Ernesto Castellotti
552db21bb4 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
ab1016125d
Fix write mistake 2019-01-22 21:44:53 +01:00
Ernesto Castellotti
f36dacf55d
Use our package names 2019-01-22 21:44:29 +01:00
830a11c9cc 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
339ca80745 Setup new arch in java loadlibrary 2018-11-26 16:17:57 +01:00
Ernesto Castellotti
55e256b9e1 Updated tdjni (C++ wrapper for JTDLib) and added new architectures 2018-11-26 15:33:59 +01:00
Ernesto Castellotti
07e94ca000 Compile a shared library instead statical library 2018-11-24 17:55:58 +01:00
Ernesto Castellotti
e73c5f907c Add archive destination in CMake 2018-11-24 14:10:47 +01:00
Ernesto Castellotti
024787b141 Added td_jni.cpp for C++ bindings as cmake project 2018-11-23 18:19:32 +01:00
Ernesto Castellotti
0d6ddd5f3f Test 2018-11-21 16:03:51 +01:00
Ernesto Castellotti
ae0d29022c Added tdlib submodule 2018-11-21 15:57:44 +01:00
Ernesto Castellotti
e4ded90d84
Added missing license 2018-11-20 18:51:11 +01:00
Ernesto Castellotti
9d9f2ec3d4 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
f8e0f352c3 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
f6887374db 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