diff --git a/README.md b/README.md index 96cce5cb..deeac2ae 100644 --- a/README.md +++ b/README.md @@ -178,6 +178,9 @@ See [td_json_client](https://core.telegram.org/tdlib/docs/td__json__client_8h.ht the [td_api.tl](https://github.com/tdlib/td/blob/master/td/generate/scheme/td_api.tl) scheme or the automatically generated [HTML documentation](https://core.telegram.org/tdlib/docs/td__api_8h.html) for a list of all available `TDLib` [methods](https://core.telegram.org/tdlib/docs/classtd_1_1td__api_1_1_function.html) and [classes](https://core.telegram.org/tdlib/docs/classtd_1_1td__api_1_1_object.html). +`TDLib` JSON interface adheres to semantic versioning and versions with the same major version number are binary and backward compatible, but the underlying `TDLib` API can be different for different minor and even patch versions. +If you need to support different `TDLib` versions then you can use a value of the `version` option to find exact `TDLib` version and to use appropriate API then. + See [example/python/tdjson_example.py](https://github.com/tdlib/td/tree/master/example/python/tdjson_example.py) and [example/ruby/example.rb](https://github.com/tdlib/td/tree/master/example/ruby/example.rb) for examples of such usage. diff --git a/build.html b/build.html index 32234fda..19d8bc6d 100644 --- a/build.html +++ b/build.html @@ -306,7 +306,7 @@ function onOsChanged() { if (target === 'WebAssembly') { text = 'TDLib is available in a prebuilt form as an NPM package tdweb.
' + - 'If you want to build it manually, take a look at our example'; + 'If you want to build it manually, take a look at our example'; target = ''; } if (target === 'Android') { diff --git a/example/README.md b/example/README.md index dbde0f43..a1ecf368 100644 --- a/example/README.md +++ b/example/README.md @@ -48,7 +48,7 @@ You can also check out [example/python/tdjson_example.py](https://github.com/tdl ## Using TDLib in JavaScript projects TDLib can be compiled to WebAssembly or asm.js and used in a browser from JavaScript. See [tdweb](https://github.com/tdlib/td/tree/master/example/web) as a convenient wrapper for TDLib in a browser -and [telegram-react](https://github.com/evgeny-nadymov/telegram-react) as an example of a TDLib based Telegram client. +and [telegram-react](https://github.com/evgeny-nadymov/telegram-react) as an example of a TDLib-based Telegram client. TDLib can be used from Node.js through the [JSON](https://github.com/tdlib/td#using-json) interface.