telegram_link 0.0.1-pre copy "telegram_link: ^0.0.1-pre" to clipboard
telegram_link: ^0.0.1-pre copied to clipboard

outdated

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

telegram_link #

Pub Package likes popularity pub points

Test CI codecov

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';
const message = 'Example message!';

void main() {
  print(TelegramLink(phoneNumber: phoneNumber).toString());
  print(TelegramLink(username: username).toString());
  print(TelegramLink(phoneNumber: phoneNumber, message: message).toString());
  print(TelegramLink(username: username, message: message).toString());
}

📚 My other packages #

Flutter #

Package Verison Score Likes Test Coverage
Pub Package pub points likes
Pub Package pub points likes
Pub Package pub points likes
Pub Package pub points likes

Dart #

Package Verison Score Likes Test Coverage
Pub Package pub points likes Test CI codecov
Pub Package pub points likes Test CI codecov
6
likes
0
pub points
61%
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

License

unknown (license)

More

Packages that depend on telegram_link