1

Topic: js, Ajax and telegrmbot, and events

Not , namely ajax and client js.
How to work with telegram bot api through ajax in general that it is clear.
Peeped here:
[url] https://habr.com/post/306222 / [/url]
Not clearly how to subscribe for events from telegram?
On  it becomes so:
[JS] bot.on ("message", (msg) => {
console.log (msg);
});[/JS]
C . Tors