Interface InputChatPhotoAnimation

An animation in MPEG4 format; must be square, at most 10 seconds long, have a width between 160 and 1280 and be at most 2 MB 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 that will be used as a static chat photo.