stream-chat-js
stream-chat-js copied to clipboard
feat: add support for pinning channels
CLA
- [ ] I have signed the Stream CLA (required).
- [ ] Code changes are tested
Description of the changes, What, Why and How?
This adds support for pinning and unpinning channels. The channel pin is stored on the user-channel relationship (channel membership). The backend API endpoint for this is not yet live.
Changelog
- Add support for pinning channels using
updateMemberPartial - Add
channel.pinandchannel.unpin - Fix
partialUpdateMemberreturning a type without thechannel_memberkey that's returned from the API