ChatMessageEvent constructor

ChatMessageEvent({
  1. void onSuccess(
    1. String msgId,
    2. ChatMessage msg
    )?,
  2. void onError(
    1. String msgId,
    2. ChatMessage msg,
    3. ChatError error
    )?,
  3. void onProgress(
    1. String msgId,
    2. int progress
    )?,
})

Implementation

ChatMessageEvent({
  this.onSuccess,
  this.onError,
  this.onProgress,
});