From 2335faebcf2c44a30a9fa0f584e62327c80fac81 Mon Sep 17 00:00:00 2001 From: Sol Ha Date: Sun, 29 Apr 2018 20:42:12 +0900 Subject: [PATCH] =?UTF-8?q?-=20sendMessage=20=ED=95=A8=EC=88=98=20?= =?UTF-8?q?=EB=8C=80/=EC=86=8C=EB=AC=B8=EC=9E=90=20=EA=B5=AC=EB=B3=84=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.js b/options.js index 3d2b5b3..9df2471 100644 --- a/options.js +++ b/options.js @@ -5,7 +5,7 @@ function save_options() { localStorage['botToken'] = document.getElementById('bot_token').value; localStorage['chatId'] = document.getElementById('chat_id').value; - var url = 'https://api.telegram.org/bot' + document.getElementById('bot_token').value + '/sendmessage?chat_id=' + document.getElementById('chat_id').value + '&text=' + encodeURI('Bot connected.'); + var url = 'https://api.telegram.org/bot' + document.getElementById('bot_token').value + '/sendMessage?chat_id=' + document.getElementById('chat_id').value + '&text=' + encodeURI('Bot connected.'); var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange=function() {