Exemplo n.º 1
0
        /// <summary>
        /// 发送群消息已读回执
        /// </summary>
        /// <param name="tid"></param>
        /// <param name="msgs"></param>
        /// <param name="cb"></param>
        public static void MsgAckRead(string tid, List <NIMIMMessage> msgs, TeamChangedNotificationDelegate cb)
        {
            var ptr     = NimUtility.DelegateConverter.ConvertToIntPtr(cb);
            var msgJson = NimUtility.Json.JsonParser.Serialize(msgs);

            TeamNativeMethods.nim_team_msg_ack_read(tid, msgJson, null, _teamChangedCallback, ptr);
        }