You can update a user's notifications preferences for a specific channel. A push notification is a message that is immediately delivered to a user's device when the device is either idle or running the client app in the background.
Note: Notifications are only available for group channels.
The following table lists the parameters that this action supports.
Specifies the unique ID of a user.
Specifies the URL of a group channel.
The following table lists the properties of an HTTP request that this action supports.
The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following:
(Deprecated) Determines whether notification messages for the user are delivered to the group channel. (default: true)
Specifies the name of a sound file to be played when a notification is delivered to the specified channel.
If successful, this action returns push preferences for a channel in the response body.
In the case of an error, an error object like below is returned. See the error codes section for more details.