markC2CMessageAsRead method

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

设置单聊消息已读

Implementation

@override
Future<V2TimCallback> markC2CMessageAsRead({
  required String userID,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "markC2CMessageAsRead",
        buildMessageMangerParam(
          {
            "userID": userID,
          },
        ),
      ),
    ),
  );
}