class MpWeixin::VoiceMessage
<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>
VoiceMessage
= Class.new(Message)
Attributes
Format[RW]
MediaId[RW]