Sudden error after getUpdates
Alcotana opened this issue · 5 comments
i get this error too.
I checked my test script for getUpdates and it works for me.
Could you please locate place in your code where this happens and share it?
Hey mast.
.on('inline.callback.query' will fire .on('message' too
so you get inside on('message an different object where message.chat.id is not under the same dot notation.
and if you create an error inside message will throw this promise error
and if you create an error inside message will throw this promise error
not sure I get you here..
Is the following true?
Due to wrong chat.id extraction, you send message to wrong chat (with empty chat_id probably), that's why you receive HTTP 400 back from Telegram servers? It sounds like bug in your code then.
Closing issue as not reproducible