Skip to content

InputChatPhotoAnimation

Type · TDLib 1.8.67 · d1085f9c

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

InputChatPhotoAnimation(
  animation: InputFile,
  main_frame_timestamp: double
) → InputChatPhoto

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