MessageReceivedListener

MessageReceivedListener

# new MessageReceivedListener(onMessageReceived)

class for Registering listener for message recieved event

Parameters:
Name Type Description
onMessageReceived function

callback function to be registered with message recieved event