Closed akupila closed 3 weeks ago
Size Change: +2.92 kB (+0.68%)
Total Size: 430 kB
Filename | Size | Change |
---|---|---|
dist/browser.es.js |
93.3 kB | +689 B (+0.74%) |
dist/browser.full-bundle.min.js |
54.3 kB | +210 B (+0.39%) |
dist/browser.js |
94.4 kB | +667 B (+0.71%) |
dist/index.es.js |
93.4 kB | +689 B (+0.74%) |
dist/index.js |
94.5 kB | +669 B (+0.71%) |
This is instead in two PRs: https://github.com/GetStream/stream-chat-js/pull/1378 https://github.com/GetStream/stream-chat-js/pull/1386
CLA
Description of the changes, What, Why and How?
This adds support for pinning and archiving channels. The channel pin is stored on the user-channel relationship (channel membership). The backend API endpoint for this is not yet live.
Changelog
partialUpdateMember
returning a type without thechannel_member
key that's returned from the APIupdateMemberPartial
(just TS type update)channel.archive()
andchannel.unarchive()
channel.pin()
andchannel.unpin()
queryChannels