Package cn.songxinqiang.weixin4j.request

Examples of cn.songxinqiang.weixin4j.request.RequestImageMessage


   *
   * @param map
   * @return
   */
  public RequestImageMessage parseImageMessage(Map<String, String> map) {
    RequestImageMessage message = new RequestImageMessage();

    _setCommonMessageField(message, map);

    message.setMsgType(RequestType.image);
    message.setPicUrl(map.get(RequestImageMessage.MSG_FIELD_PicUrl));
    message.setMediaId(map.get(RequestImageMessage.MSG_FIELD_MediaId));

    return message;
  }
View Full Code Here


   *
   * @param map
   * @return
   */
  public RequestImageMessage parseImageMessage(Map<String, String> map) {
    RequestImageMessage message = new RequestImageMessage();

    _setCommonMessageField(message, map);

    message.setMsgType(RequestType.image);
    message.setPicUrl(map.get(RequestImageMessage.MSG_FIELD_PicUrl));
    message.setMediaId(map.get(RequestImageMessage.MSG_FIELD_MediaId));

    return message;
  }
View Full Code Here

TOP

Related Classes of cn.songxinqiang.weixin4j.request.RequestImageMessage

Copyright © 2018 www.massapicom. 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.