handy_tdlib 2.0.1 copy "handy_tdlib: ^2.0.1" to clipboard
handy_tdlib: ^2.0.1 copied to clipboard

TDLib for Dart. Uses libtdjson. Improved fork of tdlib package by i-Naji

Handy TDLib #

This plugin is an updated fork of i-Naji's TDLib plugin with Dart 3 features and new TDLib version

About plugin #

This is a Flutter plugin for TDLib (Telegram Database Library) v1.8.14

This plugin is a complete TDLib's JSON interface binding package to help you create your own Telegram client.

Installation #

Install the plugin by running the following command from the project root:

flutter pub add handy_tdlib

Initialization #

This plugin supports only Android tdlib-tdjson library.

To initialize tdlib plugin, call the initialize method on the TdPlugin class.

Since this is an asynchronous operation, the main function can be modified to ensure initialization is complete before running the application.

Import handy_tdlib plugin:

import 'package:handy_tdlib/handy_tdlib.dart';

Next, within the main function, initialize TdPlugin:

void main() async {
  await TdPlugin.initialize();
  runApp(MyApp());
}

Usage #

Official TDLib guide (a bit old)

Documentation for currently used by this plugin TDLib version

4
likes
0
pub points
9%
popularity

Publisher

unverified uploader

TDLib for Dart. Uses libtdjson. Improved fork of tdlib package by i-Naji

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

ffi, flutter

More

Packages that depend on handy_tdlib