Package com.jtelegram.api.message.media
Class Document
- java.lang.Object
-
- com.jtelegram.api.message.media.SendableMedium
-
- com.jtelegram.api.message.media.FileMedium
-
- com.jtelegram.api.message.media.Document
-
- All Implemented Interfaces:
MimeableMedium
,ThumbableMedium
public class Document extends FileMedium implements MimeableMedium, ThumbableMedium
-
-
Constructor Summary
Constructors Constructor Description Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFileName()
java.lang.String
getMimeType()
PhotoSize
getThumbnail()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.message.media.FileMedium
getFileId, getFileSize
-
-
-
-
Method Detail
-
getThumbnail
public PhotoSize getThumbnail()
- Specified by:
getThumbnail
in interfaceThumbableMedium
-
getFileName
public java.lang.String getFileName()
-
getMimeType
public java.lang.String getMimeType()
- Specified by:
getMimeType
in interfaceMimeableMedium
-
toString
public java.lang.String toString()
- Overrides:
toString
in classFileMedium
-
-