Class Animation
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.games.Animation
-
- All Implemented Interfaces:
Serializable,BotApiObject
public class Animation extends Object implements BotApiObject
- Version:
- 2.4 This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
- Author:
- Ruben Bermudez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Animation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetDuration()StringgetFileId()StringgetFileName()IntegergetFileSize()StringgetFileUniqueId()IntegergetHeight()StringgetMimetype()PhotoSizegetThumb()IntegergetWidth()StringtoString()
-
-
-
Method Detail
-
getFileId
public String getFileId()
-
getThumb
public PhotoSize getThumb()
-
getFileName
public String getFileName()
-
getMimetype
public String getMimetype()
-
getFileSize
public Integer getFileSize()
-
getWidth
public Integer getWidth()
-
getHeight
public Integer getHeight()
-
getDuration
public Integer getDuration()
-
getFileUniqueId
public String getFileUniqueId()
-
-