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

me.niccolomattei.api.telegram.Video Maven / Gradle / Ivy

The newest version!
package me.niccolomattei.api.telegram;

/**
 * Created by Utente on 24/10/2015.
 */
public class Video implements BotObject {

	private String file_id;
	private int width;
	private int height;
	private int duration;
	private PhotoSize thumb;
	private String mime_type;
	private int file_size;
	
    public Video(String file_id, int width, int height, int duration, PhotoSize thumb, String mime_type,
			int file_size) {
		super();
		this.file_id = file_id;
		this.width = width;
		this.height = height;
		this.duration = duration;
		this.thumb = thumb;
		this.mime_type = mime_type;
		this.file_size = file_size;
	}
    
	public String getFile_id() {
		return file_id;
	}

	public void setFile_id(String file_id) {
		this.file_id = file_id;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public PhotoSize getThumb() {
		return thumb;
	}

	public void setThumb(PhotoSize thumb) {
		this.thumb = thumb;
	}

	public String getMime_type() {
		return mime_type;
	}

	public void setMime_type(String mime_type) {
		this.mime_type = mime_type;
	}

	public int getFile_size() {
		return file_size;
	}

	public void setFile_size(int file_size) {
		this.file_size = file_size;
	}

	public BotObject getObject() {
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy