Example #1
0
        /// <summary>
        /// 添加群管理员
        /// </summary>
        /// <param name="tid"></param>
        /// <param name="managerIdArray"></param>
        /// <param name="action"></param>
        public static void AddTeamManagers(string tid, string[] managerIdArray, TeamChangedNotificationDelegate action)
        {
            var ptr          = NimUtility.DelegateConverter.ConvertToIntPtr(action);
            var managersJson = NimUtility.Json.JsonParser.Serialize(managerIdArray);

            TeamNativeMethods.nim_team_add_managers_async(tid, managersJson, null, _teamChangedCallback, ptr);
        }