You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to check the record of other version, go to [Change Log](https://github.com/smilefam/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md).
54
-
* Changed type of `sender` property in `UserMessage` and `FileMessage` from `User` to a new class `Sender` which extends `User`.
55
-
*`Sender` has `isBlockedByMe` property which indicates that the message sender is blocked by the current user (default: false).
56
-
*`isBlockedByMe` is valid in `GroupChannel` only.
57
-
* Message from blocked users is delivered only when `block_mode` in `Application` is set to `explicit` mode. Otherwise, it's not visible nor delivered.
58
-
* Minor bug fixed.
54
+
* Added `createDistinctChannelIfNotExist()` in `GroupChannel`.
55
+
* It creates distinct channel and gets the channel with `isCreated` flag which represents whether the channel is actually created or not.
56
+
* Added `getMessageChangeLogsByTimestamp()` in `SendBird`.
57
+
* It retrieves message change logs since the given timestamp.
58
+
* Added `hiddenState` property in `GroupChannel` to get channel's hidden state.
59
+
*`unhidden`: It's not hidden channel.
60
+
*`hidden-allow-auto-unhide`: It's hidden channel which is automatically unhidden when new message comes in.
61
+
*`hidden-prevent-auto-unhide`: It's hidden channel which is not unhidden when new message comes in.
62
+
* Added `allowAutoUnhide` as the second parameter into `hide()` to allow automatic unhide on new message.
63
+
* Added `unhide()` in `GroupChannel` to manually unhide the channel.
64
+
* Added `hiddenChannelFilter` in `GroupChannelListQuery` to filter by `hiddenState`.
65
+
*`unhidden_only`: Get all unhidden channels. (default)
66
+
*`hidden_only`: Get all hidden channels which `hiddenState` is `hidden_allow_auto_unhide` or `hidden_prevent_auto_unhide`.
67
+
*`hidden_allow_auto_unhide`: Get channels which `hiddenState` is `hidden_allow_auto_unhide`.
68
+
*`hidden_prevent_auto_unhide`: Get channels which `hiddenState` is `hidden_prevent_auto_unhide`.
0 commit comments