Commit Graph

3 Commits

Author SHA1 Message Date
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
ErnyTech 2d772d2f42 Initial tdlib 2018-07-18 12:24:37 +02:00