Class ThumbableInputMedia
- java.lang.Object
-
- com.jtelegram.api.message.input.media.InputMedia
-
- com.jtelegram.api.message.input.media.ThumbableInputMedia
-
- Direct Known Subclasses:
AnimatedInputMedia
,AudioInputMedia
,DocumentInputMedia
public abstract class ThumbableInputMedia extends InputMedia
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ThumbableInputMedia(InputMediaType type, InputFile media, java.lang.String caption, ParseMode parseMode, LocalInputFile thumbnail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<InputFile>
getAllMedia()
LocalInputFile
getThumbnail()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.message.input.media.InputMedia
getCaption, getMedia, getParseMode, getType
-
-
-
-
Constructor Detail
-
ThumbableInputMedia
protected ThumbableInputMedia(InputMediaType type, InputFile media, java.lang.String caption, ParseMode parseMode, LocalInputFile thumbnail)
-
-
Method Detail
-
getAllMedia
public java.util.List<InputFile> getAllMedia()
- Overrides:
getAllMedia
in classInputMedia
-
getThumbnail
public LocalInputFile getThumbnail()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classInputMedia
-
-