Skip to main content

Reaktionen

Referenzdokumentation für GraphQL-Schematypen in der Kategorie "Reaktionen".

Mutations

addReaction

Mutation

Adds a reaction to a subject.

Eingabefelder für addReaction

Rückgabefelder für addReaction

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

reaction (Reaction)

The reaction object.

reactionGroups ([ReactionGroup!])

The reaction groups for the subject.

subject (Reactable)

The reactable subject.

removeReaction

Mutation

Removes a reaction from a subject.

Eingabefelder für removeReaction

Rückgabefelder für removeReaction

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

reaction (Reaction)

The reaction object.

reactionGroups ([ReactionGroup!])

The reaction groups for the subject.

subject (Reactable)

The reactable subject.

Objects

Reaction

Object

An emoji reaction to a particular piece of content.

Reaction Wird implementiert

Felder für Reaction

NameBESCHREIBUNG

content (ReactionContent!)

Identifies the emoji reaction.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the Reaction object.

reactable (Reactable!)

The reactable piece of content.

user (User)

Identifies the user who created this reaction.

ReactionConnection

Object

A list of reactions that have been left on the subject.

Felder für ReactionConnection

NameBESCHREIBUNG

edges ([ReactionEdge])

A list of edges.

nodes ([Reaction])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

viewerHasReacted (Boolean!)

Whether or not the authenticated user has left a reaction on the subject.

ReactionEdge

Object

An edge in a connection.

Felder für ReactionEdge

NameBESCHREIBUNG

cursor (String!)

A cursor for use in pagination.

node (Reaction)

The item at the end of the edge.

ReactionGroup

Object

A group of emoji reactions to a particular piece of content.

Felder für ReactionGroup

NameBESCHREIBUNG

content (ReactionContent!)

Identifies the emoji reaction.

createdAt (DateTime)

Identifies when the reaction was created.

reactors (ReactorConnection!)

Reactors to the reaction subject with the emotion represented by this reaction group.

Argumente für reactors

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

subject (Reactable!)

The subject that was reacted to.

users (ReactingUserConnection!)

Users who have reacted to the reaction subject with the emotion represented by this reaction group.

Warnung

users is deprecated.

Reactors can now be mannequins, bots, and organizations. Use the reactors field instead. Removal on 2021-10-01 UTC.

Argumente für users

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerHasReacted (Boolean!)

Whether or not the authenticated user has left a reaction on the subject.

ReactorConnection

Object

The connection type for Reactor.

Felder für ReactorConnection

NameBESCHREIBUNG