From a5b63033893ded472fa92ff956eed4b5f42e540c Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 18 Jun 2019 03:08:55 +0300 Subject: [PATCH] Add Clojure wrapper to the list of examples. GitOrigin-RevId: 47296a7cf5f8bb023435ef53fd1be0839d09b491 --- build.html | 2 ++ example/README.md | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/build.html b/build.html index e372f0cb..f5f10629 100644 --- a/build.html +++ b/build.html @@ -32,6 +32,7 @@ select.large { font-size: large; } + @@ -187,6 +188,7 @@ function getExampleAnchor(language) { case 'PHP': case 'Lua': case 'Ruby': + case 'Clojure': case 'D': case 'Elixir': case 'C': diff --git a/example/README.md b/example/README.md index 0b20484e..111dfe6f 100644 --- a/example/README.md +++ b/example/README.md @@ -22,6 +22,7 @@ Choose your preferred programming language to see examples of usage and a detail - [PHP](#php) - [Lua](#lua) - [Ruby](#ruby) +- [Clojure](#clojure) - [Emacs Lisp](#emacslisp) - [D](#d) - [Elixir](#elixir) @@ -171,6 +172,13 @@ TDLib can be used from the Ruby programming language through the [JSON](https:// See [tdlib-ruby](https://github.com/centosadmin/tdlib-ruby) for examples of Ruby bindings and a client for TDLib. See [example/ruby](https://github.com/tdlib/td/tree/master/example/ruby) for an example of logging in to Telegram using TDLib and `tdlib-ruby` gem. + +## Using TDLib in Clojure projects + +TDLib can be used from the Clojure programming language through the [JSON](https://github.com/tdlib/td#using-json) interface. + +See [clojure-tdlib-json-wrapper](https://github.com/MityaSaray/clojure-tdlib-json-wrapper) for an example of TDLib Clojure bindings. + ## Using TDLib in Emacs Lisp projects