Class InputProfilePhotoAnimated
java.lang.Object
io.github.natanimn.telebof.types.input.InputProfilePhotoAnimated
- All Implemented Interfaces:
InputMedia,InputProfilePhoto,Serializable
An animated profile photo in the MPEG4 format.
- Since:
- 19 August 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFiles()Used only for internal purposebooleanhasFile()Used only for internal purposesetMainFrameTimestamp(Double mainFrameTimestamp) Optional.
-
Constructor Details
-
InputProfilePhotoAnimated
Required- Parameters:
animation- The animated profile photo.
-
-
Method Details
-
setMainFrameTimestamp
Optional.- Parameters:
mainFrameTimestamp- in seconds of the frame that will be used as the static profile photo. Defaults to 0.0- Returns:
- this
-
hasFile
public boolean hasFile()Used only for internal purpose- Specified by:
hasFilein interfaceInputMedia- Returns:
- boolean
-
getFiles
Used only for internal purpose- Specified by:
getFilesin interfaceInputMedia- Returns:
- boolean
-