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

outdated

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

example/telegram_link_example.dart

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());
}
5
likes
0
pub points
66%
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