Commit 538f8f4f authored by Dio Maulana's avatar Dio Maulana

token telegram kosongin aja

parent 1150a8b4
...@@ -311,8 +311,8 @@ Future<dynamic> httpRequest(int typeRequest, String apiUrl, String namaFungsi, ...@@ -311,8 +311,8 @@ Future<dynamic> httpRequest(int typeRequest, String apiUrl, String namaFungsi,
} }
Future<void> sendTotelegram(String teks) async { Future<void> sendTotelegram(String teks) async {
String token = '6297616267:AAFSFXSouDJzFQ2zUcxQcU7YKP18W9z6xFU'; String token = '';
String chatId = '577933762'; String chatId = '';
String apiUrl = String apiUrl =
'https://api.telegram.org/bot$token/sendmessage?chat_id=$chatId&text=$teks&parse_mode=HTML&disable_web_page_preview=true'; 'https://api.telegram.org/bot$token/sendmessage?chat_id=$chatId&text=$teks&parse_mode=HTML&disable_web_page_preview=true';
httpRequest(typeGet, apiUrl, "sendTotelegram"); httpRequest(typeGet, apiUrl, "sendTotelegram");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment