onMessageReceived abstract method

void onMessageReceived(
  1. BaseChannel channel,
  2. BaseMessage message
)

A callback for when a message is received.

Implementation

void onMessageReceived(BaseChannel channel, BaseMessage message);