onMessageReceived

abstract fun onMessageReceived(channel: BaseChannel, message: BaseMessage)

A callback for when a message is received.

Parameters

channel

The channel message has come from.

message

The message received.