Closed Alcotana closed 4 years ago
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
What has happened? I cannot start the server, because of the error.
As far as I remember, I did
npm update telegram-bot-api
just before.Is this the problem of telegram-bot-api?