0 purchases
telegram link
telegram_link #
simple library for generating telegram links. It is possible to generate links with number or username.
Getting started #
Installation #
From pubspec.yaml
Add the following line to pubspec.yaml:
dependencies:
telegram_link: <last-release>
copied to clipboard
and
With Dart:
dart pub get
copied to clipboard
With Flutter:
flutter pub get
copied to clipboard
From cli
run following command:
With Dart:
dart pub add telegram_link
copied to clipboard
With Flutter:
flutter pub add telegram_link
copied to clipboard
Usage #
Complete example available here.
import 'package:telegram_link/telegram_link.dart';
const phoneNumber = '+39 12345678';
const username = 'test_username';
void main() {
print(TelegramLink(phoneNumber: phoneNumber).toString());
print(TelegramLink(username: username).toString());
}
copied to clipboard
📚 My open source projects #
Flutter #
Package
Verison
Score
Likes
Test
Coverage
Dart #
Package
Verison
Score
Likes
Test
Coverage
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.