Class InputMediaAnimation
java.lang.Object
io.micronaut.chatbots.telegram.api.InputMedia
io.micronaut.chatbots.telegram.api.InputMediaDocument
io.micronaut.chatbots.telegram.api.InputMediaAnimation
Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.
-
Constructor Summary
-
Method Summary
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
-
Constructor Details
-
InputMediaAnimation
public InputMediaAnimation()
-
-
Method Details
-
getWidth
- Returns:
- Animation width.
-
setWidth
- Parameters:
width
- Animation width.
-
getHeight
- Returns:
- Animation height.
-
setHeight
- Parameters:
height
- Animation height.
-
getDuration
- Returns:
- Animation duration.
-
setDuration
- Parameters:
duration
- Animation duration.
-
toString
- Overrides:
toString
in classInputMediaDocument
-