1
0
mirror of https://github.com/ErnyTech-Archive/JTDLib synced 2024-06-02 11:26:34 +02:00
Commit Graph

3 Commits

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