using url_launcher to send a message to Telegram from Flutter app – Telegram API
I have used this code to send a message to WhatsApp using flutter with url_launcher, void sendCodeByWhatsApp({ required int phone, required String message, }) async { String url() { if (Platform.isAndroid) { return "whatsapp://send?phone=$phone&text=${Uri.parse(message)}"; } else { return "https://wa.me/$phone?text=${Uri.parse(message)}"; }…