ExStreamClient.Operations.Chat.PushPreferences (ExStreamClient v0.1.2)

View Source
Modules for interacting with the `chat/push_preferences` group of Stream APIs

API Reference: https://getstream.github.io/protocol/?urls.primaryName=Chat%20v2

Summary

Functions

update_push_notification_preferences(payload)

@spec update_push_notification_preferences(
  ExStreamClient.Model.UpsertPushPreferencesRequest.t()
) ::
  {:ok, ExStreamClient.Model.UpsertPushPreferencesResponse.t()}
  | {:error, any()}
Update the push preferences for a user and or channel member. Set to all, mentions or none


### Required Arguments:
    - `payload`: UpsertPushPreferencesRequest