onCutomMessageReceived event are not triggering

 CometChat.addMessageListener(this.oneOnOneListenerId, new CometChat.MessageListener({
           onCutomMessageReceived: customMessage => {
                console.log('custom message received successfully', customMessage);
1 Like

Hello @mubashshir,

The callback is onCustomMessageReceived and not onCutomMessageReceived. It is not working because of the spelling mistake.

Warm Regards,

CometChat Pro
Mayur Bhandari

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.