markC2CMessageAsRead method

  1. @override
Future<V2TimCallback> markC2CMessageAsRead({
  1. required String userID,
})
override

Implementation

@override
Future<V2TimCallback> markC2CMessageAsRead({
  required String userID,
}) {
  return _retryMarkMessageAsRead(action: () {
    return TencentImSDKPlugin.v2TIMManager
        .getConversationManager()
        .cleanConversationUnreadMessageCount(
      conversationID: "${TUIConversationViewModel.conversationC2CPrefix}$userID",
      cleanTimestamp: 0,
      cleanSequence: 0,
    );
  });
}