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

    Interface BackgroundTypePattern

    The background is a .PNG or .TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.

    interface BackgroundTypePattern {
        document: Document;
        fill: BackgroundFill;
        intensity: number;
        is_inverted?: boolean;
        is_moving?: boolean;
        type: "pattern";
    }
    Index
    document: Document

    Document with the pattern.

    The background fill that is combined with the pattern.

    intensity: number

    Intensity of the pattern when it is shown above the filled background; 0-100.

    is_inverted?: boolean

    True, if the background fill must be applied only to the pattern itself. All other pixels are black in this case.

    is_moving?: boolean

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

    type: "pattern"

    Type of the background, always "pattern".