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