Class: Weixin::VoiceMessage
Overview
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1376632760</CreateTime>
<MsgType><![CDATA[voice]]></MsgType>
<MediaId><![CDATA[Qyb0tgux6QLjhL6ipvFZJ-kUt2tcQtkn0BU365Vt3wUAtqfGam4QpZU35RXVhv6G]]></MediaId>
<Format><![CDATA[amr]]></Format>
<MsgId>5912592682802219078</MsgId>
<Recognition><![CDATA[]]></Recognition>
</xml>
Instance Method Summary collapse
Methods inherited from Message
#CreateTime, #MsgId, factory, #initialize, #method_missing
Constructor Details
This class inherits a constructor from Weixin::Message
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Weixin::Message
Instance Method Details
#Format ⇒ Object
134 135 136 |
# File 'lib/weixin/model.rb', line 134 def Format @source.Format end |
#MediaId ⇒ Object
130 131 132 |
# File 'lib/weixin/model.rb', line 130 def MediaId @source.MediaId end |