Package com.jtelegram.api.message.media
Class VisualFileMedium
- java.lang.Object
-
- com.jtelegram.api.message.media.SendableMedium
-
- com.jtelegram.api.message.media.FileMedium
-
- com.jtelegram.api.message.media.VisualFileMedium
-
public abstract class VisualFileMedium extends FileMedium
Similar to File medium, this type itself does not exist in the Telegram API however it holds the shared width / height fields of videos and photos.
-
-
Constructor Summary
Constructors Constructor Description VisualFileMedium()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
int
getWidth()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.message.media.FileMedium
getFileId, getFileSize
-
-
-
-
Method Detail
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classFileMedium
-
-