ChatDownloadCallback constructor

ChatDownloadCallback(
  1. {void onSuccess(
    1. String fileId,
    2. String path
    )?,
  2. void onError(
    1. String fileId,
    2. ChatError error
    )?,
  3. void onProgress(
    1. String fileId,
    2. int progress
    )?}
)

Create a group shared file download callback.

Implementation

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