Interface InputChatPhotoAnimation

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. Subtype of InputChatPhoto.

interface InputChatPhotoAnimation {
    @type: "inputChatPhotoAnimation";
    animation: InputFile;
    main_frame_timestamp: number;
}

Properties

@type: "inputChatPhotoAnimation"
animation: InputFile

Animation to be set as profile photo. Only inputFileLocal and inputFileGenerated are allowed.

main_frame_timestamp: number

Timestamp of the frame, which will be used as static chat photo.