Beispiel #1
0
 /// <summary>
 /// 批量更新队列信息
 /// </summary>
 /// <param name="roomID">聊天室ID</param>
 /// <param name="elementInfoJson">批量更新元素</param>
 /// <param name="needNotify">是否聊天室内广播通知</param>
 /// <param name="notify">通知中的自定义字段,长度限制2048</param>
 /// <param name="cb">回调函数</param>
 /// <param name="userData"></param>
 public static void UpdateQueue(long roomID, string elementInfoJson, bool needNotify, string notify, nim_chatroom_batch_update_cb cb, IntPtr userData)
 {
     BatchUpdataCallback = cb;
     ChatRoomNativeMethods.nim_chatroom_batch_upate_async(roomID, elementInfoJson, needNotify, notify, null, BatchUpdataCallback, userData);
 }