Zum Hauptinhalt springen
Mutation

markNotificationsRead

Marks the given notifications of the signed-in user read (up to 50; others' ids are ignored). Returns the unread count after.

Argumente

  • ids[ID!]!

    IDs of notifications to mark read.

Rückgabe

Int!

Beispiel

mutation MarkNotificationsRead($ids: [ID!]!) {
  markNotificationsRead(ids: $ids)
}