diff --git a/build.html b/build.html index 8fbc2dad..1c18955b 100644 --- a/build.html +++ b/build.html @@ -23,6 +23,7 @@ select.large { font-size: large; } + @@ -165,6 +166,7 @@ function getSupportedOs(language) { case 'JavaScript': return ['Windows (Node.js)', 'Linux (Node.js)', 'macOS (Node.js)', 'FreeBSD (Node.js)', 'OpenBSD (Node.js)', 'NetBSD (Node.js)', 'Browser']; case 'Java': + case 'Kotlin': return ['Windows', 'Linux', 'macOS', 'FreeBSD', 'OpenBSD', 'Android']; case 'C#': return ['Windows (through C++/CLI)', 'Universal Windows Platform (through C++/CX)', 'Windows (.Net Core)', 'Linux (.Net Core)', 'macOS (.Net Core)', 'FreeBSD (.Net Core)']; @@ -182,6 +184,7 @@ function getExampleAnchor(language) { case 'JavaScript': case 'Go': case 'Java': + case 'Kotlin': case 'Swift': case 'Objective-C': case 'Rust': @@ -272,6 +275,7 @@ function getTarget(language, os) { case 'C++': return 'tdclient'; case 'Java': + case 'Kotlin': return 'JNI'; default: return 'tdjson'; diff --git a/example/README.md b/example/README.md index 1d2048c0..f40da34c 100644 --- a/example/README.md +++ b/example/README.md @@ -13,6 +13,7 @@ Choose your preferred programming language to see examples of usage and a detail - [JavaScript](#javascript) - [Go](#go) - [Java](#java) +- [Kotlin](#kotlin) - [C#](#csharp) - [C++](#cxx) - [Swift](#swift) @@ -86,6 +87,13 @@ To use TDLib to create Android Java applications, use our [prebuilt library for You can also see [JTDLib](https://github.com/ErnyTech/JTDLib) for another example of Java wrapper for TDLib. + +## Using TDLib in Kotlin projects + +TDLib can be used from the Kotlin/JVM programming language through same way as in [JAVA](#java). + +You can also use [ktd](https://github.com/whyoleg/ktd) library with kotlin specific bindings. + ## Using TDLib in C# projects