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