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

An unnecessary API? #2950

Closed Titlehhhh closed 4 months ago

Titlehhhh commented 4 months ago

I am far from C++ topic, but in tdlib code I see such classes and structures: AccentColorId, AccountManager, AudiosManager and others. What are they for if they cannot be accessed? When you build this library according to the instructions, you get only these header files, which contain several classes that have nothing to do with the above mentioned ones: image

levlam commented 4 months ago

All public API can be accessed using the classes on the screenshot. See https://core.telegram.org/tdlib/getting-started.

Titlehhhh commented 4 months ago

I'm not a native English speaker. so maybe the translation let me down a bit.

I realized that I can access the API in the screenshot. I am wondering if I can access these classes? -> image

Titlehhhh commented 4 months ago

I've seen that many people don't build tdlib, but just add it as a git submodule.

levlam commented 4 months ago

No, you can't. All public API can be accessed using the classes on the screenshot.