teleproto - v1.233.0
    Preparing search index...

    Interface UploadProfilePhotoParams

    interface UploadProfilePhotoParams {
        bot?: EntityLike;
        fallback?: boolean;
        file?: FileLike;
        video?: FileLike;
        videoEmojiMarkup?: TypeVideoSize;
        videoStartTs?: number;
    }
    Index
    bot?: EntityLike

    Bot owners: change the photo of an owned bot instead.

    fallback?: boolean

    Set as the fallback photo, shown to users prevented from seeing the main one by privacy settings.

    file?: FileLike

    The photo to upload (path, Buffer, File, or an uploaded Api.TypeInputFile).

    video?: FileLike

    An animated profile video to upload instead of a photo.

    videoEmojiMarkup?: TypeVideoSize

    Sticker/custom-emoji markup to generate an animated photo instead of uploading one.

    videoStartTs?: number

    Timestamp (in seconds) of the video frame to use as the static preview.