ToggleActivitySubscriptionMutation is an interface representing the variables to pin an activity. It includes activityId and subscribe.

interface ToggleActivitySubscriptionVariables {
    activityId: number;
    asHtml?: boolean;
    subscribe: boolean;
}

Properties

activityId: number

activityId is a number representing the id of the activity.

asHtml?: boolean

asHtml is a boolean representing whether the activity descriptions is in HTML format.

subscribe: boolean

subscribe is a boolean representing whether the activity is subscribed.