View number of channels with unread messages
Changed onView number of channels with unread messages
This action retrieves the total number of group channels in which a user has unread messages. You can use various query parameters to determine the search scope of group channels.
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Path parameters
(Required)
Query parameters
Restricts the search scope to either Supergroup channels or non-Supergroup channels or both. Acceptable values are all, super, and nonsuper. (Default: all)
Headers
Response
Successful response
Example response
{
"unread_count": 0
}Changes
- breaking
the
queryrequest parametersuper_modewas restricted to a list of enum values - warning
deleted the
headerrequest parameterApi-Token - info
added the new optional
headerrequest parameterapi-token - info
added the new enum value
allto thequeryrequest parametersuper_mode - info
added the new enum value
nonsuperto thequeryrequest parametersuper_mode - info
added the new enum value
superto thequeryrequest parametersuper_mode - info
for the
queryrequest parametercustom_types, the type was generalized fromarraytostring
- breaking
- info
the
headerrequest parameterApi-Tokenbecame optional
- info