teleproto - v1.229.0
    Preparing search index...

    Interface MessagesUpdatePinnedMessageParams

    interface MessagesUpdatePinnedMessageParams {
        id: number;
        peer: EntityLike;
        pmOneside?: boolean;
        silent?: boolean;
        unpin?: boolean;
    }
    Index
    id: number

    The message to pin or unpin

    peer: EntityLike

    The peer where to pin the message

    pmOneside?: boolean

    Whether the message should only be pinned on the local side of a one-to-one chat

    silent?: boolean

    Pin the message silently, without triggering a notification

    unpin?: boolean

    Whether the message should unpinned or pinned