Add more framework/binding examples.

GitOrigin-RevId: f6603f39bfbe8992de4ee6d7731ab14c8d97dfa9
This commit is contained in:
levlam 2018-09-05 18:05:53 +03:00
parent e0531cc682
commit 0ff0e1003d

View File

@ -15,6 +15,8 @@ TDLib can be easily used from almost any language on any platform. Choose your p
- [C++](#cxx) - [C++](#cxx)
- [Swift](#swift) - [Swift](#swift)
- [Objective-C](#objective-c) - [Objective-C](#objective-c)
- [Rust](#rust)
- [Erlang](#erlang)
- [PHP](#php) - [PHP](#php)
- [Lua](#lua) - [Lua](#lua)
- [Ruby](#ruby) - [Ruby](#ruby)
@ -59,7 +61,7 @@ TDLib also can be compiled to WebAssembly and used in a browser from JavaScript,
TDLib can be used from the Go programming language through the [JSON](https://github.com/tdlib/td#using-json) interface and Cgo, and can be linked either statically or dynamically. TDLib can be used from the Go programming language through the [JSON](https://github.com/tdlib/td#using-json) interface and Cgo, and can be linked either statically or dynamically.
Convenient Go wrappers already exist for our JSON interface. Convenient Go wrappers already exist for our JSON interface.
For example, take a look at [go-tdlib](https://github.com/Arman92/go-tdlib), which provides a convenient TDLib client and a generator for TDLib API classes and contains many examples. For example, take a look at [go-tdlib](https://github.com/zelenin/go-tdlib) or [go-tdlib](https://github.com/Arman92/go-tdlib), which provide a convenient TDLib client, a generator for TDLib API classes and contain many examples.
You can also see [go-tdjson](https://github.com/L11R/go-tdjson) for another example of TDLib JSON interface integration with Go and You can also see [go-tdjson](https://github.com/L11R/go-tdjson) for another example of TDLib JSON interface integration with Go and
[example/go](https://github.com/tdlib/td/tree/master/example/go/main.go) for a proof of concept example of using the TDLib JSON interface from Go. [example/go](https://github.com/tdlib/td/tree/master/example/go/main.go) for a proof of concept example of using the TDLib JSON interface from Go.
@ -112,6 +114,20 @@ TDLib can be used from the Objective-C programming language through [JSON](https
See [example/ios](https://github.com/tdlib/td/tree/master/example/ios) for an example of building TDLib for iOS, watchOS, tvOS, and macOS. See [example/ios](https://github.com/tdlib/td/tree/master/example/ios) for an example of building TDLib for iOS, watchOS, tvOS, and macOS.
<a name="rust"></a>
## Using TDLib in Rust projects
TDLib can be used from the Rust programming language through the [JSON](https://github.com/tdlib/td#using-json) interface.
See [rust-tdlib](https://github.com/lattenwald/rust-tdlib) for an example of TDLib Rust bindings.
<a name="Erlang"></a>
## Using TDLib in Erlang projects
TDLib can be used from the Erlang programming language through the [JSON](https://github.com/tdlib/td#using-json) interface.
See [erl-tdlib](https://github.com/lattenwald/erl-tdlib) for an example of TDLib Erlang bindings.
<a name="php"></a> <a name="php"></a>
## Using TDLib in PHP projects ## Using TDLib in PHP projects