public static class TdApi.InputChatPhotoAnimation extends TdApi.InputChatPhoto
TdApi.InputChatPhoto.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.InputFile |
animation
Animation to be set as profile photo.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
double |
mainFrameTimestamp
Timestamp of the frame, which will be used as static chat photo.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.InputFile animation
public double mainFrameTimestamp
public static final int CONSTRUCTOR
public InputChatPhotoAnimation()
public InputChatPhotoAnimation(TdApi.InputFile animation, double mainFrameTimestamp)
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.public int getConstructor()
getConstructor
in class TdApi.InputChatPhoto