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

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 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 tdlib plugin:

import 'package:tdlib/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
11%
popularity

Publisher

unverified uploader

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