Refactored tons of code, deleted a lot of old code. TelegramClient.setTdLibParams()
is now deprecated in favor of TelegramClient.defineTdlibParams()
.
All TdObjects
now accept keyword arguments in the default constructor, instead of Map<String, dynmaic>
s, which they now only accept through a named fromJson
constructor.
A fromJson
constructor has been added to all the TdFunction
s as well.
Created an even nicer Telegram client that uses streams
Used code generation to create all of the classes from the TDLib API documentation.
Increased the minimum required Dart SDK version from 2.6.0 to 2.6.0-dev.8.2, as the Dart team
made several breaking changes to dart:ffi
. Had to increase the package:ffi
version
accordingly.
First version. Creates a JsonClient
and provides functions for interacting with the Telegram API
directly.