tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

TdLib - kotlin #2449

Closed Fra078 closed 1 year ago

Fra078 commented 1 year ago

I know that kotlin can use JVM Client class to interface with TDLib, but there is the possibility in future to have an official way using kotlin classes only? I mean using flows, channels and coroutines to manage updates and requests without java handlers

levlam commented 1 year ago

Did you check https://github.com/tdlib/td/tree/master/example#using-tdlib-in-kotlin-projects?

Fra078 commented 1 year ago

Yes, but both kid and td-ktx are very outdated and are using deprecated kotlin APIs

levlam commented 1 year ago

Then it should be possible to create your own wrapper based on JSON interface with all aforementioned features.