Zirk Posted May 8, 2020 Report Share Posted May 8, 2020 Hi, I have the following code: client.on('friendMessage', function() { console.log("Received Friend Message"); }); client.on('chatMessage', function() { console.log("Received Chat Message"); }); When I send a direct message the console.log in the friendMessage event is called but when I'm sending a message in a group nothing is happening (the event chatMessage isn't called). Would someone please know what is the issue? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted May 9, 2020 Report Share Posted May 9, 2020 Please read the docs again more closely, specifically the deprecation notice. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.