/// <summary> /// 发送已读回执 /// </summary> public static void SendReceipt(NIMIMMessage msg, MsglogStatusChangedDelegate cb, string jsonExtension = null) { System.Diagnostics.Debug.Assert(msg != null && !string.IsNullOrEmpty(msg.ReceiverID)); var msgJson = msg.Serialize(); var ptr = NimUtility.DelegateConverter.ConvertToIntPtr(cb); MsglogNativeMethods.nim_msglog_send_receipt_async(msgJson, jsonExtension, OnMsglogStatusChanged, ptr); }