Skip to content

Commit 53d9623

Browse files
committed
v3.0.65
1 parent 52ba321 commit 53d9623

File tree

6 files changed

+36
-14
lines changed

6 files changed

+36
-14
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
Changelog
22
=========
33

4+
## v3.0.65(Jun 13, 2018)
5+
* added `memberStateFilter` in `MemberListQuery` to search members based on the state of the member in a Group Channel.
6+
* added `myMutedState` in `GroupChannel` to show the state of the connected user in a Group Channel.
7+
* added `joinedMemberCount` in `GroupChannel` to show the total count of joined users in a Group Channel.
8+
* added `getUnreadItemCount` in `GroupChannel` to show the count of requested items by joined user in a Group Channel.
9+
* non_super_group_channel_unread_message_count: the count of unread message in a Non-Super Group Channel.
10+
* non_super_group_channel_invitation_count: the count of invitation that have not yet responded in a Non-Super Group Channel.
11+
* super_group_channel_unread_message_count: the count of unread message in a Super Group Channel.
12+
* super_group_channel_invitation_count: the count of invitation that have not yet responded in a Super Group Channel.
13+
* Changed the type of `invitees` from `Member` to `User` on `onUserReceivedInvitation`.
14+
415
## v3.0.64(Jun 1, 2018)
516
* Added a typing indicator throttle option in SendBird.Options.
617
* Fixed a minor bug for `GroupChannelParams`, `UserMessageParams` and `FileMessageParams`.

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,17 @@ If you have trouble importing `SendBird`, please check your `tsconfig.json` file
3939
# [Documentation](https://docs.sendbird.com/javascript)
4040

4141

42-
## Upgrading to v3.0.64(Jun 1, 2018)
42+
## Upgrading to v3.0.65(Jun 13, 2018)
4343
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).
44-
* Added a typing indicator throttle option in SendBird.Options.
45-
* Fixed a minor bug for `GroupChannelParams`, `UserMessageParams` and `FileMessageParams`.
46-
* Fixed a minor bug for `includeEmpty` to accept only a boolean argument.
44+
* added `memberStateFilter` in `MemberListQuery` to search members based on the state of the member in a Group Channel.
45+
* added `myMutedState` in `GroupChannel` to show the state of the connected user in a Group Channel.
46+
* added `joinedMemberCount` in `GroupChannel` to show the total count of joined users in a Group Channel.
47+
* added `getUnreadItemCount` in `GroupChannel` to show the count of requested items by joined user in a Group Channel.
48+
* non_super_group_channel_unread_message_count: the count of unread message in a Non-Super Group Channel.
49+
* non_super_group_channel_invitation_count: the count of invitation that have not yet responded in a Non-Super Group Channel.
50+
* super_group_channel_unread_message_count: the count of unread message in a Super Group Channel.
51+
* super_group_channel_invitation_count: the count of invitation that have not yet responded in a Super Group Channel.
52+
* Changed the type of `invitees` from `Member` to `User` on `onUserReceivedInvitation`.
4753

4854

4955
## [Change Log](https://github.com/smilefam/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md)

SendBird.d.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Type Definitions for SendBird SDK v3.0.64
2+
* Type Definitions for SendBird SDK v3.0.65
33
* homepage: https://sendbird.com/
44
* git: https://github.com/smilefam/SendBird-SDK-JavaScript
55
*/
@@ -188,7 +188,7 @@ declare namespace SendBird {
188188
onChannelUnfrozen(channel: OpenChannel | GroupChannel): void;
189189
onChannelChanged(channel: OpenChannel | GroupChannel): void;
190190
onChannelDeleted(channelUrl: string): void;
191-
onUserReceivedInvitation(channel: GroupChannel, inviter: User, invitees: Array<Member>): void;
191+
onUserReceivedInvitation(channel: GroupChannel, inviter: User, invitees: Array<User>): void;
192192
onUserDeclinedInvitation(channel: GroupChannel, inviter: User, invitee: Member): void;
193193
onMetaDataCreated(channel: OpenChannel | GroupChannel, metaData: Object): void;
194194
onMetaDataUpdated(channel: OpenChannel | GroupChannel, metaData: Object): void;
@@ -824,8 +824,10 @@ declare namespace SendBird {
824824
unreadMessageCount: number;
825825
members: Array<Member>;
826826
memberCount: number;
827+
joinedMemberCount: number;
827828
myMemberState: 'none' | 'joined' | 'invited';
828829
myRole: 'operator' | 'none';
830+
myMutedState: 'muted' | 'unmuted';
829831
inviter: User;
830832

831833
refresh(callback: groupChannelCallback): void;
@@ -897,6 +899,7 @@ declare namespace SendBird {
897899
createMyGroupChannelListQuery(): GroupChannelListQuery;
898900
createPublicGroupChannelListQuery(): PublicGroupChannelListQuery;
899901

902+
getUnreadItemCount(keys: Array<string>, callback: commonCallback): void;
900903
getTotalUnreadMessageCount(groupChannelTotalUnreadMessageCountParams: GroupChannelTotalUnreadMessageCountParams,
901904
callback: groupChannelCountCallback): void;
902905
getTotalUnreadMessageCount(callback: groupChannelCountCallback): void;
@@ -964,6 +967,8 @@ declare namespace SendBird {
964967
isLoading: boolean;
965968
mutedMemberFilter: 'all' | 'muted' | 'unmuted';
966969
operatorFilter: 'all' | 'operator' | 'nonoperator'; // Deprecated
970+
memberStateFilter: 'all' | 'joined_only' | 'invited_only' | 'invited_by_friend' | 'invited_by_non_friend';
971+
967972
next(callback: groupChannelMemberListQueryCallback): void;
968973
}
969974

SendBird.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.64",
3+
"version": "3.0.65",
44
"authors": ["SendBird <[email protected]>"],
55
"homepage": "https://github.com/smilefam/SendBird-SDK-JavaScript",
66
"description": "SendBird JavaScript SDK",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.64",
3+
"version": "3.0.65",
44
"description": "SendBird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {

0 commit comments

Comments
 (0)