Examples of QQGroupSearchInfo


Examples of iqq.im.bean.QQGroupSearchInfo

    JSONObject json = new JSONObject(response.getResponseString());
   
    if (json.getInt("retcode") == 0) {
      JSONArray result = json.getJSONArray("result");
      for(int index = 0; index < result.length(); index++){   //结果获取;
        QQGroupSearchInfo info = new QQGroupSearchInfo();
        JSONObject ret = result.getJSONObject(index);
        info.setGroupId(ret.getLong("GE"))//真实的QQ号
        info.setOwerId(ret.getLong("QQ"));
        info.setGroupName(ret.getString("TI"));
        info.setCreateTimeStamp(ret.getLong("RQ"))//QQ群创建时间,时间戳形式;
        info.setAliseGroupId(ret.getLong("GEX"));
       
      }
     
     
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.