Skip to content

Commit 72df882

Browse files
committed
v3.0.67
1 parent 3a8bee1 commit 72df882

File tree

6 files changed

+27
-16
lines changed

6 files changed

+27
-16
lines changed

CHANGELOG.md

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

4+
## v3.0.67(Jun 29, 2018)
5+
* Added `unreadMentionCount` in `GroupChannel` to check the mention count of the current user.
6+
* Added `unread_mention_count_only` in CountPreference to receive only updated `unreadMentionCount`.
7+
* Added `mentionType` with `users` and `channel` in `BaseMessage` to check the type of mention.
8+
* Added `mentionType` with `users` and `channel` in `BaseMessageParams` to set type of mention.
9+
410
## v3.0.66(Jun 22, 2018)
511
* Added `nicknameStartsWithFilter` in `MemberListQuery` to search Group Channel members by nickname.
612
* Added `CountPreference` in `GroupChannel` which represents an enum of count preferences - 'all', 'unread_message_count_only', 'off'.

README.md

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

4141

42-
## v3.0.66(Jun 22, 2018)
43-
* Added `nicknameStartsWithFilter` in `MemberListQuery` to search Group Channel members by nickname.
44-
* Added `CountPreference` in `GroupChannel` which represents an enum of count preferences - 'all', 'unread_message_count_only', 'off'.
45-
* Added `myCountPreference` in `GroupChannel` to get my count preference of a Group Channel.
46-
* Added `setMyCountPreference` in `GroupChannel` to set my Group Channel count preference to a value in GroupChannel.CountPreference.
47-
* Minor bug-fix.
42+
## v3.0.67(Jun 29, 2018)
43+
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 `unreadMentionCount` in `GroupChannel` to check the mention count of the current user.
45+
* Added `unread_mention_count_only` in CountPreference to receive only updated `unreadMentionCount`.
46+
* Added `mentionType` with `users` and `channel` in `BaseMessage` to check the type of mention.
47+
* Added `mentionType` with `users` and `channel` in `BaseMessageParams` to set type of mention.
4848

4949

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

SendBird.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Type Definitions for SendBird SDK v3.0.66
2+
* Type Definitions for SendBird SDK v3.0.67
33
* homepage: https://sendbird.com/
44
* git: https://github.com/smilefam/SendBird-SDK-JavaScript
55
*/
@@ -219,6 +219,7 @@ declare namespace SendBird {
219219
messageType: string;
220220
data: string;
221221
customType: string;
222+
mentionType: string;
222223
mentionedUsers: Array<User>;
223224
createdAt: number;
224225
updatedAt: number;
@@ -249,6 +250,7 @@ declare namespace SendBird {
249250
data: string;
250251
customType: string;
251252
targetLanguages: Array<string>;
253+
mentionType: 'users' | 'channel';
252254
mentionedUserIds: Array<string>;
253255
mentionedUsers: Array<User>;
254256
pushNotificationDeliveryOption: 'default' | 'suppress';
@@ -272,6 +274,7 @@ declare namespace SendBird {
272274
data: string;
273275
customType: string;
274276
thumbnailSizes: Array<ThumbnailSize>;
277+
mentionType: 'users' | 'channel';
275278
mentionedUserIds: Array<string>;
276279
mentionedUsers: Array<User>;
277280
pushNotificationDeliveryOption: 'default' | 'suppress';
@@ -823,6 +826,7 @@ declare namespace SendBird {
823826
myCountPreference: string;
824827
lastMessage: UserMessage | FileMessage | AdminMessage;
825828
unreadMessageCount: number;
829+
unreadMentionCount: number;
826830
members: Array<Member>;
827831
memberCount: number;
828832
joinedMemberCount: number;
@@ -875,7 +879,7 @@ declare namespace SendBird {
875879

876880
setPushPreference(pushOn: boolean, callback: commonCallback): void;
877881
getPushPreference(callback: getPushPreferenceCallback): void;
878-
setMyCountPreference(preference: 'all' | 'unread_message_count_only' | 'off', callback: commonCallback): void;
882+
setMyCountPreference(preference: 'all' | 'unread_message_count_only' | 'unread_mention_count_only' | 'off', callback: commonCallback): void;
879883

880884
createMemberListQuery(): GroupChannelMemberListQuery;
881885
createBannedUserListQuery(): UserListQuery;

SendBird.min.js

Lines changed: 7 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.66",
3+
"version": "3.0.67",
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.66",
3+
"version": "3.0.67",
44
"description": "SendBird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {

0 commit comments

Comments
 (0)