teleproto - v1.229.0
    Preparing search index...

    Interface PhotosUploadProfilePhotoParams

    interface PhotosUploadProfilePhotoParams {
        bot?: EntityLike;
        fallback?: boolean;
        file?: TypeInputFileIn;
        video?: TypeInputFileIn;
        videoEmojiMarkup?: TypeVideoSizeIn;
        videoStartTs?: number;
    }
    Index
    bot?: EntityLike

    Can contain info of a bot we own, to change the profile photo of that bot, instead of the current user.

    fallback?: boolean

    If set, the chosen profile photo will be shown to users that can't display your main profile photo due to your privacy settings.

    Profile photo

    Animated profile picture video

    videoEmojiMarkup?: TypeVideoSizeIn

    Animated sticker profile picture, must contain either a videoSizeEmojiMarkup or a videoSizeStickerMarkup constructor.

    videoStartTs?: number

    Floating point UNIX timestamp in seconds, indicating the frame of the video/sticker that should be used as static preview; can only be used if video or video_emoji_markup is set.