예제 #1
0
        /// <summary>
        /// 取群成员信息(支持缓存)
        /// </summary>
        /// <param name="groudId">目标QQ所在群</param>
        /// <param name="qqId">目标QQ</param>
        /// <param name="isCache">不使用缓存</param>
        /// <returns></returns>
        public static GroupMemberInfo GetGroupMemberInfoV2(long groudId, long qqId, bool isCache)
        {
            string          jsonData        = CQFuncs.CQ_getGroupMemberInfoV2(RobbotManager.AuthCode, groudId, qqId, isCache);
            GroupMemberInfo groupMemberInfo = new GroupMemberInfo();
            JsonUtils       utils           = new JsonUtils(jsonData);

            utils.Resolve(groupMemberInfo);
            return(groupMemberInfo);
        }