Aliaksei Levin
Aliaksei Levin
`libtdjson` is the only library that is supposed to be shared. The options `TD_INSTALL_STATIC_LIBRARIES` and `TD_INSTALL_SHARED_LIBRARIES` can be used to avoid installation of static or shared libraries. See https://github.com/tdlib/td/pull/3081 for...
Yes. You don't even need to make `BUILD_SHARED_LIBS` dependent on `TD_INSTALL_SHARED_LIBRARIES`. Just specify `BUILD_SHARED_LIBS` separately during `cmake` configuration. The option is supposed to be provided by the user of `cmake`,...
You said > Removing the STATIC keywords from all add_library instructions and making BUILD_SHARED_LIBS to depend on the option TD_INSTALL_SHARED_LIBRARIES does the trick. I commented that the second part isn't...
`tde2e` is a library used by TDLib to implement group calls. Whoever uses `TDLib` doesn't need to use `tde2e`. Therefore, `tde2e` is no different from `OpenSSL` or any other library...
> Somehow adding -DTD_E2E_ONLY=ON didn't make any difference. Do you use the latest TDLib 1.8.49 from Github? > And then, what about include/td/utils and include/td/telegram ? They are private even...
All message identifiers are unique within the chat for a given TDLib instance. Each message has a unique identifier that must be used to reference the message in the given...
See https://github.com/tdlib/td/issues/3071 and https://github.com/tdlib/td/issues/2312.
@Michal-Szczepaniak It shouldn't matter, who sent the message. Could you send TDLib log with verbosity level 4 to https://t.me/tdlib_bot?
The build likely succeeded, and the file `td_example.exe` has been generated by the command `cmake --build .`. If you want to edit the example in CLion and build from there,...
`getChatHistory` is not supposed to be used to fetch new messages. Also, messages in supergroups and channels aren't supposed to be received immediately. They can be received by different users...