teleproto - v1.229.0
    Preparing search index...

    Interface UpdatePinMessageParams

    Interface for editing messages

    interface UpdatePinMessageParams {
        notify?: boolean;
        pmOneSide?: boolean;
        savedPeerId?: EntityLike;
        topMsgId?: number;
    }
    Index
    notify?: boolean

    Whether the pin should notify people or not.
    By default it has the opposite behavior of official clients, it will not notify members.

    pmOneSide?: boolean

    Whether the message should be pinned for everyone or not.
    By default it has the opposite behavior of official clients, and it will pin the message for both sides, in private chats.

    savedPeerId?: EntityLike

    When unpinning all messages in your Saved Messages: only unpin messages saved from this peer.

    topMsgId?: number

    When unpinning all messages: only unpin within this forum topic (its top message ID).