mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-09-08 18:25:36 +00:00
examples: Minor cleanup
This commit is contained in:
@@ -26,5 +26,5 @@ bot.setWebHook(`${url}/bot${TOKEN}`, {
|
||||
|
||||
// Just to ping!
|
||||
bot.on('message', function onMessage(msg) {
|
||||
bot.sendMessage(msg.chat.id, "I'm alive!");
|
||||
bot.sendMessage(msg.chat.id, 'I am alive!');
|
||||
});
|
||||
|
Reference in New Issue
Block a user