All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.hmtools.wxmp.message.ordinary.model.VideoMessage 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;

/**
 * 视频消息
 * {@code
 * 
	
	
	1357290913
	
	
	
	1234567890123456

 * }
 * @author HyboWork
 *
 */
@WxmpMessage(msgType=MsgType.video)
public class VideoMessage extends BaseMessage{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6904849231273452154L;

	/**
	 * 视频消息媒体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 "VideoMessage [mediaId=" + mediaId + ", thumbMediaId=" + thumbMediaId + ", toUserName=" + toUserName
				+ ", fromUserName=" + fromUserName + ", createTime=" + createTime + ", msgType=" + msgType + ", msgId="
				+ msgId + "]";
	}
	
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy