telegram_link 1.0.0 copy "telegram_link: ^1.0.0" to clipboard
telegram_link: ^1.0.0 copied to clipboard

simple library for generating telegram links. It is possible to generate links with number or username

telegram_link #

Pub Package Pub Points Pub Likes

Package Issue Package License

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>

and

With Dart:

dart pub get

With Flutter:

flutter pub get

From cli

run following command:

With Dart:

dart pub add telegram_link

With Flutter:

flutter pub add telegram_link

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());
}

📚 My open source projects #

Flutter #

Package Verison Score Likes Test Coverage
Pub Package Pub Points Pub Likes
Pub Package Pub Points Pub Likes
Pub Package Pub Points Pub Likes
Pub Package Pub Points Pub Likes

Dart #

Package Verison Score Likes Test Coverage
Pub Package Pub Points Pub Likes Test CI codecov
Pub Package Pub Points Pub Likes Test CI codecov
5
likes
140
pub points
55%
popularity

Publisher

verified publisherinsideapp.it

simple library for generating telegram links. It is possible to generate links with number or username

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on telegram_link