1
0
forked from ErnyTech/JTDLib
Commit Graph

20 Commits

Author SHA1 Message Date
850503766c Updated to tdlib 1.6.2 2020-04-19 16:32:49 +02:00
Ernesto Castellotti
83f0cbf045 Set our packages name 2019-01-24 19:14:43 +01:00
Ernesto Castellotti
978e162de6 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
0055477dfe Fix write mistake 2019-01-22 21:44:53 +01:00
Ernesto Castellotti
97391980e6 Use our package names 2019-01-22 21:44:29 +01:00
17ba0b9e85 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
89f96a3073 Setup new arch in java loadlibrary 2018-11-26 16:17:57 +01:00
Ernesto Castellotti
7660e4336a Compile a shared library instead statical library 2018-11-24 17:55:58 +01:00
Ernesto Castellotti
1e2cba0a64 Add archive destination in CMake 2018-11-24 14:10:47 +01:00
Ernesto Castellotti
4ba686e1ca Added td_jni.cpp for C++ bindings as cmake project 2018-11-23 18:19:32 +01:00
Ernesto Castellotti
82ce53a57c Test 2018-11-21 16:03:51 +01:00
Ernesto Castellotti
5db651dfc8 Added tdlib submodule 2018-11-21 15:57:44 +01:00
Ernesto Castellotti
f5ebffa7a1 Added missing license 2018-11-20 18:51:11 +01:00
Ernesto Castellotti
2fa6475975 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
2390f27cd4 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
aef6d04f6b 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
a3588e5e78 protected to public 2018-07-19 19:53:14 +02:00
ErnyTech
59d4699cd8 Updated docs for package description 2018-07-18 17:17:37 +02:00
ErnyTech
917c78dc18 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
8ef3daea92 Initial tdlib 2018-07-18 12:24:37 +02:00