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

[ASK] Are all the tdlib methods for Android not available, just td_json_xxx? #2973

Closed azkadev closed 3 months ago

azkadev commented 3 months ago

I tried building tdlib using the examples in examples/android

command I ran: docker build --build-arg TDLIB_INTERFACE=JSON --output tdlib .

after I tried on Android Flutter but td_execute wasn't there

how to make all these function methods available? Screenshot from 2024-07-08 18-14-13

https://core.telegram.org/tdlib/docs/td__json__client_8h.html

levlam commented 3 months ago

td_execute is called td_execute on Android instead of _td_execute now. You need to modify the wrapper to use the same function names for all operating systems.

azkadev commented 3 months ago

td_execute is called td_execute on Android instead of _td_execute now. You need to modify the wrapper to use the same function names for all operating systems.

Thank you very much,