Member Junction
    Preparing search index...

    Parameters for deleting a message

    type DeleteMessageParams<T = Record<string, any>> = {
        ContextData?: T;
        MessageID: string;
        PermanentDelete?: boolean;
    }

    Type Parameters

    • T = Record<string, any>
    Index

    Properties

    ContextData?: T

    Optional, provider-specific context data

    MessageID: string

    The ID of the message to delete

    PermanentDelete?: boolean

    If true, permanently delete the message. If false, move to trash (if supported). Defaults to false.