Update push preferences for a channel
Changed onUpdate push preferences for a channel
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: Push notifications are only available for group channels.
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Path parameters
(Required)
(Required)
Headers
Request body
Response
Successful response
Example response
{
"enable": true,
"push_sound": "push_sound",
"push_trigger_option": null
}Changes
- info
removed the
defaultenum value from theresponse property for the response status
- info
- breaking
request property
was restricted to a list of enum values - warning
deleted the
headerrequest parameterApi-Token - warning
removed the request property
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
added the new
allenum value to theresponse property for the response status - warning
added the new
defaultenum value to theresponse property for the response status - warning
added the new
mention_onlyenum value to theresponse property for the response status - warning
added the new
offenum value to theresponse property for the response status - info
api operation id
updatePushPreferencesForChannelByUrlremoved and replaced withupdatePushPreferencesForAChannel - info
added the new optional
headerrequest parameterapi-token - info
the request property
became optional - info
added the new
allenum value to the request property - info
added the new
defaultenum value to the request property - info
added the new
falseenum value to the request property - info
added the new
mention_onlyenum value to the request property
- breaking