onReceiveMessageReadReceipts method

void onReceiveMessageReadReceipts(
  1. List<V2TimMessageReceipt> receiptList
)

Implementation

void onReceiveMessageReadReceipts(List<V2TimMessageReceipt> receiptList) {
  try {
    for (var receipt in receiptList) {
      final msgID = receipt.msgID;
      if (msgID != null) {
        _messageReadReceiptMap[msgID] = receipt;
      }
    }
    notifyListener(TencentCloudChatMessageDataKeys.messageReadReceipts as T);
    // ignore: empty_catches
  } catch (e) {}
}