Coffrify.Resources.Notifications (Coffrify v0.9.0)

View Source

Per-user notification preferences.

Summary

Functions

Get the current preferences.

Patch preferences. Only the keys you pass are updated.

Functions

get(client)

@spec get(Coffrify.t()) :: {:ok, map()} | {:error, Exception.t()}

Get the current preferences.

update(client, patch)

@spec update(Coffrify.t(), map()) :: {:ok, map()} | {:error, Exception.t()}

Patch preferences. Only the keys you pass are updated.