Package cn.songxinqiang.weixin4j.request

Examples of cn.songxinqiang.weixin4j.request.RequestVoiceMessage


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

    _setCommonMessageField(message, map);

    message.setMsgType(RequestType.voice);
    message.setMediaId(map.get(RequestVoiceMessage.MSG_FIELD_MediaId));
    message.setFormat(map.get(RequestVoiceMessage.MSG_FIELD_Format));

    return message;
  }
View Full Code Here


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

    _setCommonMessageField(message, map);

    message.setMsgType(RequestType.voice);
    message.setMediaId(map.get(RequestVoiceMessage.MSG_FIELD_MediaId));
    message.setFormat(map.get(RequestVoiceMessage.MSG_FIELD_Format));

    return message;
  }
View Full Code Here

TOP

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

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.