onProgress property

(void Function(String msgId, int progress)?) onProgress
final

~english Occurs when there is a progress for message upload or download. This event is triggered when a message is being uploaded or downloaded.

Param msgId The ID of the message that is being uploaded or downloaded.

Param progress The upload or download progress. ~end

~chinese 消息上传或下载进度的回调。

Param msgId 正在上传或下载的消息的 ID。

Param progress 上传或下载进度。 ~end

Implementation

final void Function(String msgId, int progress)? onProgress;