onMessageDelete method

void onMessageDelete(
  1. dynamic callback(
    1. Message message
    )
)

callback will be called when the MESSAGE_DELETE event has been recieved

Implementation

void onMessageDelete(Function(Message message) callback) =>
    _onMessageDelete = callback;