Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tdlib Versionsnumber #2828

Open
JnZn558 opened this issue Mar 23, 2024 · 2 comments
Open

tdlib Versionsnumber #2828

JnZn558 opened this issue Mar 23, 2024 · 2 comments

Comments

@JnZn558
Copy link

JnZn558 commented Mar 23, 2024

Are there version number defined in source code? For example MAJOR 18 MINOR 26 for example, if yes, where do I find the version defines? I could not find about it

@pannu5788
Copy link

no

@levlam
Copy link
Contributor

levlam commented Mar 23, 2024

If you use JSON interface, you can use td_execute with getOption("version") to get TDLib version in runtime.

If you want instead to get the version from the source code, then you can check

project(TDLib VERSION 1.8.26 LANGUAGES CXX C)
.

If you use a statically typed C/C++ interface, then you can only support one specific version of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants