Package com.jtelegram.api.message.media
Class FileMedium
- java.lang.Object
-
- com.jtelegram.api.message.media.SendableMedium
-
- com.jtelegram.api.message.media.FileMedium
-
- Direct Known Subclasses:
Audio
,Document
,VideoNote
,VisualFileMedium
,Voice
public abstract class FileMedium extends SendableMedium
This class serves as a common extension of all mediums sent by file (audio, image, etc.).
-
-
Constructor Summary
Constructors Constructor Description FileMedium()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFileId()
long
getFileSize()
java.lang.String
toString()
-
-
-
Method Detail
-
getFileId
public java.lang.String getFileId()
-
getFileSize
public long getFileSize()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSendableMedium
-
-