View Source ExTDLib.Object.InputChatPhotoAnimation (ExTDLib v0.0.4)
An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 1280 and be at most 2MB in size.
| Name | Type | Description |
|---|---|---|
| animation | InputFile | Animation to be set as profile photo. Only inputFileLocal and inputFileGenerated are allowed. |
| main_frame_timestamp | double | Timestamp of the frame, which will be used as static chat photo. |
More details on telegram's documentation.