Skip to main content

ActivityReactionCreate

Add a reaction for an activity of type like or dislike.

ActivityReactionCreate(
activityId: ID!
reactionType: ReactionType!
): ActivityReactionCreateUnion!

Arguments

ActivityReactionCreate.activityId ● ID! non-null scalar

ID of the activity that the reaction is for.

ActivityReactionCreate.reactionType ● ReactionType! non-null enum

Type of reaction

Type

ActivityReactionCreateUnion union

If mutation is successful, the Activity will be returned, otherwise a MutationError is returned.