ToggleActivitySubscriptionMutation is a class representing a mutation to subscribe to an activity. It includes a method to subscribe to an activity

Hierarchy (view full)

Constructors

Methods

  • toggleActivitySubscription is a method that sends a mutation request to subscribe to an activity.

    Parameters

    Returns Promise<Activity>

    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.