dartway_telegram 0.1.1
dartway_telegram: ^0.1.1 copied to clipboard
Telegram Mini App integration for DartWay apps: initialize the Telegram WebApp, read its safe-area insets and the Telegram user id. Optional by design.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dartway_telegramThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
dartway_telegram: ^0.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dartway_telegram/dartway_telegram.dart';