ptgc 1.0.0
ptgc: ^1.0.0 copied to clipboard
A high-level client for the Telegram Client API (MTProto). Log in as a real user account and control chats and channels — ban, kick, restrict, promote, invite and list members — plus contacts, dialogs [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ptgcWith Flutter:
$ flutter pub add ptgcThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ptgc: ^1.0.0Alternatively, 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:ptgc/ptgc.dart';