tdlib-json-cli icon indicating copy to clipboard operation
tdlib-json-cli copied to clipboard

Usage examples needed

Open jk-1 opened this issue 6 years ago • 2 comments

Is it possible to have few examples how to create client, send, receive messages and destroy client through tdlib-json-cli?

Thank you for your support!

jk-1 avatar Aug 31 '18 07:08 jk-1

It's on the plan, but no ETAs.

You can check https://core.telegram.org/tdlib/docs/td__json__client_8h.html at this time. These methods will help you:

setTdlibParameters checkDatabaseEncryptionKey getAuthorizationState setAuthenticationPhoneNumber checkAuthenticationCode checkAuthenticationPassword

oott123 avatar Aug 31 '18 09:08 oott123

As you may known, tdlib-json-cli is a wrapper of tdlib. So you can just find out how to use tdlib.

oott123 avatar Aug 31 '18 09:08 oott123