2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-29 05:17:41 +00:00

Fixed processUpdate

This commit is contained in:
Yago 2016-06-07 00:16:45 +02:00
parent 5719e62d88
commit cd86c93438

View File

@ -67,7 +67,7 @@ class TelegramBot extends EventEmitter {
this._polling = new TelegramBotPolling(this.token, this.options.polling, this.processUpdate);
}
processUpdate(update) {
processUpdate = (update) => {
debug('Process Update %j', update);
const message = update.message;
const inlineQuery = update.inline_query;