Update count preference of a channel
Changed onUpdate count preference of a channel
This action updates a user's count preference of a specific group channel. The count preference allows a user to either update the number of unread messages or the number of unread mentioned messages, or both in a specific group channel.
If you want to retrieve the total number count of a specific group channel, go to the get count preference of a channel page.
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Path parameters
(Required)
(Required)
Headers
Request body
Response
Successful response
Example response
{
"count_preference": "false"
}Changes
- breaking
request property
was restricted to a list of enum values - warning
deleted the
headerrequest parameterApi-Token - warning
added the new
allenum value to theresponse property for the response status - warning
added the new
falseenum value to theresponse property for the response status - warning
added the new
unread_mentioned_count_onlyenum value to theresponse property for the response status - warning
added the new
unread_message_count_onlyenum value to theresponse property for the response status - info
api operation id
updateCountPreferenceOfChannelByUrlremoved and replaced withupdateCountPreferenceOfAChannel - info
added the new optional
headerrequest parameterapi-token - info
added the new
allenum value to the request property - info
added the new
falseenum value to the request property - info
added the new
unread_mentioned_count_onlyenum value to the request property - info
added the new
unread_message_count_onlyenum value to the request property
- breaking
- info
the
headerrequest parameterApi-Tokenbecame optional
- info