DeleteThreadMutation is a class representing a mutation to delete a thread. It includes a method to delete a thread

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • deleteThread is a method that sends a mutation request to delete a thread.

    Parameters

    • variables: DeleteThreadVariables

      An object of type DeleteThreadVariables representing the variables for the mutation.

    Returns Promise<any>

    A Promise that resolves to the response from the mutation request.

    Throws

    Will throw an error if the mutation request fails or if the provided variables do not pass the validation checks.