Occurs whenever a user goes online, starts typing, etc.
Example
client.addEventHandler((event: UserUpdateEvent) => { if (event.online) { console.log(`${event.userId} is now online!`); } if (event.typing) { console.log(`${event.userId} is typing...`); } }, newUserUpdate({}));
Occurs whenever a user goes online, starts typing, etc.
Example