tdlib2 1.8.64
tdlib2: ^1.8.64 copied to clipboard
Dart bindings for TDLib with native prebuilts and source-build fallback.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tdlib2With Flutter:
$ flutter pub add tdlib2This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
tdlib2: ^1.8.64Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tdlib2/builder.dart';
import 'package:tdlib2/td_api.dart';
import 'package:tdlib2/td_client.dart';