
top.hmtools.wxmp.message.ordinary.model.ShortvideoMessage Maven / Gradle / Ivy
The newest version!
package top.hmtools.wxmp.message.ordinary.model;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import top.hmtools.wxmp.core.annotation.WxmpMessage;
import top.hmtools.wxmp.core.model.message.BaseMessage;
import top.hmtools.wxmp.core.model.message.enums.MsgType;
/**
* 小视频消息
* @author Hybomyth
*
*/
/**
* 小视频消息
* {@code
*
1357290913
1234567890123456
* }
* @author HyboWork
*
*/
@WxmpMessage(msgType=MsgType.shortvideo)
public class ShortvideoMessage extends BaseMessage {
/**
*
*/
private static final long serialVersionUID = -453338811135241536L;
/**
* 视频消息媒体id,可以调用多媒体文件下载接口拉取数据。
*/
@XStreamAlias("MediaId")
private String mediaId;
/**
* 视频消息缩略图的媒体id,可以调用多媒体文件下载接口拉取数据。
*/
@XStreamAlias("ThumbMediaId")
private String thumbMediaId;
public String getMediaId() {
return mediaId;
}
public void setMediaId(String mediaId) {
this.mediaId = mediaId;
}
public String getThumbMediaId() {
return thumbMediaId;
}
public void setThumbMediaId(String thumbMediaId) {
this.thumbMediaId = thumbMediaId;
}
public static long getSerialversionuid() {
return serialVersionUID;
}
@Override
public void configXStream(XStream xStream) {
}
@Override
public String toString() {
return "ShortvideoMessage [mediaId=" + mediaId + ", thumbMediaId=" + thumbMediaId + ", toUserName=" + toUserName
+ ", fromUserName=" + fromUserName + ", createTime=" + createTime + ", msgType=" + msgType + ", msgId="
+ msgId + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy