launchTelegram function

void launchTelegram(
  1. String id, {
  2. LaunchMode mode = LaunchMode.externalApplication,
})

Implementation

void launchTelegram(final String id, {LaunchMode mode = LaunchMode.externalApplication}) async => await launchURL(
      "https://t.me/$id",
      mode: mode,
    );