InputChatPhotoAnimation

class pyrogram.types.InputChatPhotoAnimation

An animation in H.264/MPEG-4 AVC format.

Note

Must be square, at most 10 seconds long, have width between 160 and 1280 and be at most 2MB in size

Parameters:
  • animation (str | BinaryIO) – Animation to be set as profile photo.

  • main_frame_timestamp (float) – Timestamp of the frame, which will be used as static chat photo.