getMessageReadReceipts method

  1. @override
Future<V2TimValueCallback<List<V2TimMessageReceipt>>> getMessageReadReceipts({
  1. required List<String> messageIDList,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimMessageReceipt>>> getMessageReadReceipts({
  required List<String> messageIDList,
}) async {
  final result = await TencentImSDKPlugin.v2TIMManager
      .getMessageManager()
      .getMessageReadReceipts(messageIDList: messageIDList);
  if (result.code != 0) {
    _coreService.callOnCallback(TIMCallback(
        type: TIMCallbackType.API_ERROR,
        errorMsg: result.desc,
        errorCode: result.code));
  }
  return result;
}