github.com/southbridgeio/tdlib-ruby

Ruby bindings and client for TDLib

Open this visualization on its own page →

Contributors

4

Lines of Code

1,670

From

2018-02-01

To

2020-01-09

About southbridgeio/tdlib-ruby

This Ruby gem provides bindings and a client library for TDLib, the Telegram database library, enabling Ruby developers to interact with Telegram's API. The project wraps TDLib's functionality in Ruby, allowing developers to authenticate with Telegram and execute client methods asynchronously using Concurrent Ruby promises.

The gem requires Ruby 2.4 or higher and a compiled TDLib installation, with precompiled versions available for CentOS 6 and 7 from the maintainers' repositories. It maintains compatibility across multiple TDLib versions, with a version mapping table showing which gem releases correspond to which TDLib versions. From version 3.0 onwards, type schemas are managed as a separate dependency to allow users to support specific TDLib versions independently.

The library supports configuration options like log level and log file path, and provides asynchronous method execution through Concurrent::Promises::Future. The project includes a parser tool that can synchronize Ruby types with updated TDLib schemas, making it maintainable as TDLib evolves.

Share this video