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

    Interface AreaPosition

    Describes the position of a clickable area within a story or TON wallet card.

    interface AreaPosition {
        corner_radius_percentage: number;
        height_percentage: number;
        rotation_angle: number;
        width_percentage: number;
        x_percentage: number;
        y_percentage: number;
    }
    Index
    corner_radius_percentage: number

    The radius of the rectangle corner rounding, as a percentage of the width.

    height_percentage: number

    The height of the rectangle, as a percentage of the height.

    rotation_angle: number

    Clockwise rotation angle of the rectangle, in degrees; 0-360.

    width_percentage: number

    The width of the rectangle, as a percentage of the width.

    x_percentage: number

    The abscissa of the rectangle's center, as a percentage of the width.

    y_percentage: number

    The ordinate of the rectangle's center, as a percentage of the height.