Class AnimatedInputMedia
- java.lang.Object
-
- com.jtelegram.api.message.input.media.InputMedia
-
- com.jtelegram.api.message.input.media.ThumbableInputMedia
-
- com.jtelegram.api.message.input.media.AnimatedInputMedia
-
- Direct Known Subclasses:
AnimationInputMedia
,VideoInputMedia
public abstract class AnimatedInputMedia extends ThumbableInputMedia
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AnimatedInputMedia(InputMediaType type, InputFile media, java.lang.String caption, ParseMode parseMode, LocalInputFile thumbnail, int width, int height, long duration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDuration()
int
getHeight()
int
getWidth()
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
-
AnimatedInputMedia
protected AnimatedInputMedia(InputMediaType type, InputFile media, java.lang.String caption, ParseMode parseMode, LocalInputFile thumbnail, int width, int height, long duration)
-
-
Method Detail
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getDuration
public long getDuration()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classThumbableInputMedia
-
-