stream-chat-js icon indicating copy to clipboard operation
stream-chat-js copied to clipboard

feat: add support for pinning channels

Open akupila opened this issue 1 year ago • 1 comments

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.pin and channel.unpin
  • Fix partialUpdateMember returning a type without the channel_member key that's returned from the API

akupila avatar Oct 21 '24 11:10 akupila