The RAW updates that telegram sends. these are Api.TypeUpdate objects. The are useful to handle custom events that you need like user typing or games.
client.addEventHandler((update) => { console.log("Received new Update"); console.log(update);}); Copy
client.addEventHandler((update) => { console.log("Received new Update"); console.log(update);});
Optional
The RAW updates that telegram sends. these are Api.TypeUpdate objects. The are useful to handle custom events that you need like user typing or games.
Example