Merge branch 'master' of github.com:mdibaiee/node-telegram-bots

This commit is contained in:
Mahdi Dibaiee 2015-07-27 09:26:04 +04:30
commit 10a8af0431

View File

@ -37,7 +37,7 @@ bot.get(/Hi|Hey|Hello|Yo/, function(message) {
});
bot.command('start', function(message) {
var welcome = new File().file('./some_photo.png').caption('Welcome');
var welcome = new File().file('./some_photo.png').caption('Welcome').to(message.chat.id);
bot.send(welcome);
});