zerobias / telegram-mtproto

Telegram client api (MTProto) library
MIT License
617 stars 136 forks source link

Handle notifications #145

Closed passa9 closed 6 years ago

passa9 commented 6 years ago

Hi all! Is there a way to handle notification events? Something like that: telegram.on('message',(event) => { console.log(event); }) Thanks in advance!

goodmind commented 6 years ago

Duplicate of #40