Package org.drinkless.tdlib
Class TdApi.InputChatPhotoAnimation
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InputChatPhoto
-
- org.drinkless.tdlib.TdApi.InputChatPhotoAnimation
-
- Enclosing class:
- TdApi
public static class TdApi.InputChatPhotoAnimation extends TdApi.InputChatPhoto
An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 800 and be at most 2MB in size.
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.InputFileanimationAnimation to be set as profile photo.static intCONSTRUCTORIdentifier uniquely determining type of the object.doublemainFrameTimestampTimestamp of the frame, which will be used as static chat photo.
-
Constructor Summary
Constructors Constructor Description InputChatPhotoAnimation()An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 800 and be at most 2MB in size.InputChatPhotoAnimation(TdApi.InputFile animation, double mainFrameTimestamp)An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 800 and be at most 2MB in size.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
animation
public TdApi.InputFile animation
Animation to be set as profile photo. Only inputFileLocal and inputFileGenerated are allowed.
-
mainFrameTimestamp
public double mainFrameTimestamp
Timestamp of the frame, which will be used as static chat photo.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InputChatPhotoAnimation
public InputChatPhotoAnimation()
An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 800 and be at most 2MB in size.
-
InputChatPhotoAnimation
public InputChatPhotoAnimation(TdApi.InputFile animation, double mainFrameTimestamp)
An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 800 and be at most 2MB in size.- Parameters:
animation- Animation to be set as profile photo. Only inputFileLocal and inputFileGenerated are allowed.mainFrameTimestamp- Timestamp of the frame, which will be used as static chat photo.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-