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 purposemainFrameTimestamp(double main_frame_timestamp) Optional
-
Constructor Details
-
InputProfilePhotoAnimated
Required- Parameters:
animation- The animated profile photo.
-
-
Method Details
-
mainFrameTimestamp
Optional- Parameters:
main_frame_timestamp- Timestamp in seconds of the frame that will be used as the static profile photo. Defaults to 0.0- Returns:
InputProfilePhotoAnimated
-
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
-