telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface BackgroundTypeWallpaper

    The background is a wallpaper in the JPEG format.

    interface BackgroundTypeWallpaper {
        dark_theme_dimming: number;
        document: Document;
        is_blurred?: boolean;
        is_moving?: boolean;
        type: "wallpaper";
    }
    Index
    dark_theme_dimming: number

    Dimming of the background in dark themes, as a percentage; 0-100.

    document: Document

    Document with the wallpaper.

    is_blurred?: boolean

    True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12 pixels.

    is_moving?: boolean

    True, if the background moves slightly when the device is tilted.

    type: "wallpaper"

    Type of the background, always "wallpaper".