
me.niccolomattei.api.telegram.Document Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegram Show documentation
Show all versions of telegram Show documentation
Simple yet powerful telegram bot api.
package me.niccolomattei.api.telegram;
/**
* Created by Utente on 24/10/2015.
*/
public class Document implements BotObject {
private String file_id;
private PhotoSize thumb;
private String file_name;
private String mime_type;
private int file_size;
public Document(String file_id, PhotoSize thumb, String file_name, String mime_type, int file_size) {
super();
this.file_id = file_id;
this.thumb = thumb;
this.file_name = file_name;
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 PhotoSize getThumb() {
return thumb;
}
public void setThumb(PhotoSize thumb) {
this.thumb = thumb;
}
public String getFile_name() {
return file_name;
}
public void setFile_name(String file_name) {
this.file_name = file_name;
}
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 - 2025 Weber Informatics LLC | Privacy Policy