Closed danielemaddaluno closed 1 year ago
that's not how you add an event. not sure where you got that code from.
client.addEventHandler(eventPrint, {});
❌
client.addEventHandler(eventPrint, new NewMessage({}));
✅
Yeah it was that. Thank you very much @painor !
I was trying to listen for a telegram channel with this code:
As soon as I get an update the app crashes with this error:
Any advice? Thank you in advance