com.jfinal.weixin.sdk.msg.out

## 类 OutVoiceMsg

- java.lang.Object
- - com.jfinal.weixin.sdk.msg.out.OutMsg
  - - com.jfinal.weixin.sdk.msg.out.OutVoiceMsg

- 所有已实现的接口:
    Serializable

      public class OutVoiceMsg
      extends OutMsg

          回复语音消息
       <xml>
       <ToUserName><![CDATA[toUser]]></ToUserName>
       <FromUserName><![CDATA[fromUser]]></FromUserName>
       <CreateTime>12345678</CreateTime>
       <MsgType><![CDATA[voice]]></MsgType>
       <Voice>
       <MediaId><![CDATA[media_id]]></MediaId>
       </Voice>
       </xml>

  另请参阅:
    序列化表格

- - ### 字段概要

    - ### 从类继承的字段 com.jfinal.weixin.sdk.msg.out.OutMsg

      `createTime, fromUserName, msgType, toUserName`

  - ### 构造器概要

    构造器
    构造器和说明
    `OutVoiceMsg()`
    `OutVoiceMsg(InMsg inMsg)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getMediaId()`
    `void` | `setMediaId(String mediaId)`
    `protected void` | `subXml(StringBuilder sb)`

    - ### 从类继承的方法 com.jfinal.weixin.sdk.msg.out.OutMsg

      `getCreateTime, getFromUserName, getMsgType, getToUserName, now, nullToBlank, setCreateTime, setFromUserName, setMsgType, setToUserName, toXml`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### OutVoiceMsg

          public OutVoiceMsg()

    - #### OutVoiceMsg

          public OutVoiceMsg(InMsg inMsg)

  - ### 方法详细资料

    - #### subXml

          protected void subXml(StringBuilder sb)

      指定者:
        `subXml` 在类中 `OutMsg`

    - #### getMediaId

          public String getMediaId()

    - #### setMediaId

          public void setMediaId(String mediaId)

Copyright © 2017. All rights reserved.