Beispiel #1
0
        internal static WeGroupCollection GetWeGroupList()
        {
            string            url        = WeUtil.GetUrl(WeConst.QUERY_GROUP);
            WeGroupCollection collection = WeUtil.GetFromUri <WeGroupCollection>(url);

            return(collection);
        }
        public WeixinResult ReadData(string json)
        {
            WeGroupCollection result = new WeGroupCollection();
            result.ReadJson(json);

            return result;
        }
Beispiel #3
0
        public static IList <WeGroup> GetAllGroups()
        {
            WeGroupCollection collection = GetWeGroupList();

            return(collection.Groups);
        }