A TDLib binding

Will someone do a binding of the brand new Telegram Database Library?

1 Like

I have implemeted some barebones bindings to TDLIB Json Client library, that is exposed as C bindings by TDLIB

https://github.com/mersinvald/tdjson-rs

Unfortunately bindgen was unable to generate the full-featured C++ bindings to the whole TDLIB
I hope someone will have more success in generating bindings to C++ code than I had.

Regarding the tdjson-rs: It is very WIP, just plain simple Rust interface over C functions, that accepts and returns Strings. I will host docs sometime on this or next week, and currently I'm thinking of an approach to make the usage less painful :slight_smile:

3 Likes