mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-29 13:27:44 +00:00
Fixed processUpdate
This commit is contained in:
parent
5719e62d88
commit
cd86c93438
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user