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

com.tmsps.ne4weixin.bean.message.custom.VideoMessage Maven / Gradle / Ivy

There is a newer version: 3.2.2.3
Show newest version
package com.tmsps.ne4weixin.bean.message.custom;

import com.tmsps.ne4weixin.bean.message.custom.vo.Video;
import com.tmsps.ne4weixin.config.enumeration.MsgTypeEnum;


/**
 * @Title: VideoMessage.java
 * @Package: com.tmsps.ne4weixin.bean.custom
 * @Description: 客服消息-发送视频消息
 * @author: hanjiefei
 * @date: 2019-10-18
 * @version V1.0
 * @Copyright: 2019 
 */
public class VideoMessage extends BaseMessage {

	/**
	 * 视频消息内容
	 */
	private Video video;
	 
	public VideoMessage(String touser) {
		super(touser, MsgTypeEnum.VIDEO);
	}
	
	public VideoMessage(String touser, String mediaId) {
		super(touser, MsgTypeEnum.VIDEO);
		this.video = new Video(mediaId);
	}

	public VideoMessage(String touser, String mediaId, String thumb_media_id) {
		super(touser, MsgTypeEnum.VIDEO);
		this.video = new Video(mediaId, thumb_media_id);
	}
	
	public VideoMessage(String touser,Video video) {
		super(touser, MsgTypeEnum.VIDEO);
		this.video = video;
	}
	
	public Video getVideo() {
		return video;
	}

	public void setVideo(Video video) {
		this.video = video;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy