Class: MpWeixin::VideoMessage

Inherits:
Message
  • Object
show all
Defined in:
lib/mp_weixin/models/message.rb

Overview

<xml>

  <ToUserName><![CDATA[toUser]]></ToUserName>
  <FromUserName><![CDATA[fromUser]]></FromUserName>
  <CreateTime>1376632994</CreateTime>
  <MsgType><![CDATA[video]]></MsgType>
  <MediaId><![CDATA[TAAGb6iS5LcZR1d5ICiZTWGWi6-Upic9tlWDpAKcNJA]]></MediaId>
  <ThumbMediaId><![CDATA[U-xulPW4kq6KKMWFNaBSPc65Bcgr7Qopwex0DfCeyQs]]></ThumbMediaId>
  <MsgId>5912593687824566343</MsgId>
</xml>

VideoMessage = Class.new(Message)

Instance Attribute Summary collapse

Attributes inherited from Message

#CreateTime, #FromUserName, #MsgId, #MsgType, #ToUserName

Method Summary

Methods inherited from Message

#create_time, #created_at, from_xml, #initialize, #msg_id, #reply, #reply_image_message, #reply_music_message, #reply_news_message, #reply_text_message, #reply_video_message, #reply_voice_message

Methods included from ActiveModel::Model

included, #initialize, #persisted?

Constructor Details

This class inherits a constructor from MpWeixin::Message

Instance Attribute Details

#MediaIdObject

Returns the value of attribute MediaId.



193
194
195
# File 'lib/mp_weixin/models/message.rb', line 193

def MediaId
  @MediaId
end

#ThumbMediaIdObject

Returns the value of attribute ThumbMediaId.



193
194
195
# File 'lib/mp_weixin/models/message.rb', line 193

def ThumbMediaId
  @ThumbMediaId
end