DeleteMessageParams<T>: {
    ContextData?: T;
    MessageID: string;
    PermanentDelete?: boolean;
}

Parameters for deleting a message

Type Parameters

  • T = Record<string, any>

Type declaration

  • Optional ContextData?: T

    Optional, provider-specific context data

  • MessageID: string

    The ID of the message to delete

  • Optional PermanentDelete?: boolean

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