product:chat
Update channels in batch
Changed onUpdate channels in batch. By default returns task_id for an asynchronous task. With synchronous: true, updateData and hide accept at most 100 explicit CIDs (hide also at most 10 distinct members) and return success_channels_count of channels selected after the database write completes, without task_id. A synchronous hide where none of the member users exist hides nothing and omits success_channels_count. Always poll a returned task_id, including when an older node ignores synchronous.
Sends events:
- channel.frozen
- channel.hidden
- channel.unfrozen
- channel.updated
- channel.visible
- member.added
- member.removed
- member.updated
put/channels/batch
Request
- Base URLhttps://chat.stream-io-api.com
- URLhttps://chat.stream-io-api.com/channels/batch
- Auth
- API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
- or API key in query parameter api_key and API key in header Stream-Auth-Type
Request body
Response
Successful response
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info