mtflute 0.1.0 copy "mtflute: ^0.1.0" to clipboard
mtflute: ^0.1.0 copied to clipboard

Pure-Dart Telegram MTProto client (API layer 225). Bot and user accounts, parse modes, inline buttons, files, conversation API, auto-reconnect.

example/mtflute_example.dart

import 'package:mtflute/mtflute.dart';

void main() {
  // Factorize a PQ value like MTProto handshake does
  final pq = BigInt.from(15);
  final result = factorize(pq);
  print('PQ=$pq => p=${result.p}, q=${result.q}');

  // DC lookup
  print('DC2 address: ${getDcAddress(2)}');
}
2
likes
0
points
167
downloads

Publisher

unverified uploader

Weekly Downloads

Pure-Dart Telegram MTProto client (API layer 225). Bot and user accounts, parse modes, inline buttons, files, conversation API, auto-reconnect.

Repository (GitHub)
View/report issues

Topics

#telegram #mtproto #bot #messaging #client

License

unknown (license)

Dependencies

crypto, pointycastle

More

Packages that depend on mtflute