Class InputMediaAnimation
- java.lang.Object
-
- io.micronaut.chatbots.telegram.api.InputMedia
-
- io.micronaut.chatbots.telegram.api.InputMediaDocument
-
- io.micronaut.chatbots.telegram.api.InputMediaAnimation
-
public class InputMediaAnimation extends InputMediaDocument
Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.
-
-
Constructor Summary
Constructors Constructor Description InputMediaAnimation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetDuration()java.lang.IntegergetHeight()java.lang.IntegergetWidth()voidsetDuration(java.lang.Integer duration)voidsetHeight(java.lang.Integer height)voidsetWidth(java.lang.Integer width)java.lang.StringtoString()-
Methods inherited from class io.micronaut.chatbots.telegram.api.InputMediaDocument
getDisableContentTypeDetection, getThumb, setDisableContentTypeDetection, setThumb
-
Methods inherited from class io.micronaut.chatbots.telegram.api.InputMedia
getCaption, getCaptionEntities, getMedia, getParseMode, getType, setCaption, setCaptionEntities, setMedia, setParseMode, setType
-
-
-
-
Method Detail
-
getWidth
@Nullable public java.lang.Integer getWidth()
- Returns:
- Animation width.
-
setWidth
public void setWidth(@Nullable java.lang.Integer width)- Parameters:
width- Animation width.
-
getHeight
@Nullable public java.lang.Integer getHeight()
- Returns:
- Animation height.
-
setHeight
public void setHeight(@Nullable java.lang.Integer height)- Parameters:
height- Animation height.
-
getDuration
@Nullable public java.lang.Integer getDuration()
- Returns:
- Animation duration.
-
setDuration
public void setDuration(@Nullable java.lang.Integer duration)- Parameters:
duration- Animation duration.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classInputMediaDocument
-
-