Chat Viewer
    Preparing search index...

    Interface PinOpts

    Options for a pinned message.

    interface PinOpts {
        offset?: number;
        smooth?: boolean;
    }
    Index

    Properties

    Properties

    offset?: number

    Space kept between the top of the viewport and the pinned message. Default: 0.

    smooth?: boolean

    If true, the scroll to the pinned message animates smoothly. Default: false.