Class AudioInputMedia
- java.lang.Object
-
- com.jtelegram.api.message.input.media.InputMedia
-
- com.jtelegram.api.message.input.media.ThumbableInputMedia
-
- com.jtelegram.api.message.input.media.AudioInputMedia
-
public class AudioInputMedia extends ThumbableInputMedia
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AudioInputMedia.AudioInputMediaBuilder
-
Constructor Summary
Constructors Constructor Description AudioInputMedia(InputFile media, java.lang.String caption, ParseMode parseMode, LocalInputFile thumbnail, long duration, java.lang.String performer, java.lang.String title)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AudioInputMedia.AudioInputMediaBuilder
builder()
long
getDuration()
java.lang.String
getPerformer()
java.lang.String
getTitle()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.message.input.media.ThumbableInputMedia
getAllMedia, getThumbnail
-
Methods inherited from class com.jtelegram.api.message.input.media.InputMedia
getCaption, getMedia, getParseMode, getType
-
-
-
-
Constructor Detail
-
AudioInputMedia
public AudioInputMedia(InputFile media, java.lang.String caption, ParseMode parseMode, LocalInputFile thumbnail, long duration, java.lang.String performer, java.lang.String title)
-
-
Method Detail
-
builder
public static AudioInputMedia.AudioInputMediaBuilder builder()
-
getDuration
public long getDuration()
-
getPerformer
public java.lang.String getPerformer()
-
getTitle
public java.lang.String getTitle()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classThumbableInputMedia
-
-