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

    Interface MaskPosition

    interface MaskPosition {
        point: string;
        scale: number;
        x_shift: number;
        y_shift: number;
    }
    Index
    point: string

    The part of the face relative to which the mask should be placed. One of "forehead", "eyes", "mouth", or "chin".

    scale: number

    Mask scaling coefficient.

    x_shift: number

    Shift by X-axis measured in widths of the mask scaled to the face size, from left to right.

    y_shift: number

    Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom.