You can retrieve 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. These notifications preferences can be configured.
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.
If successful, this action returns notifications preferences for a channel in the response body.
The type of notification trigger applies to the group channels when the user is disconnected from Sendbird server. Valid values are the following:
The name of the sound file to be played when a notification is delivered to the specified channel.
(Deprecated) Indicates whether notification messages for the user are delivered to the group channel.
In the case of an error, an error object like below is returned. See the error codes section for more details.