Skip to content

Commit 563548d

Browse files
committed
v3.0.57
1 parent 2ce43c1 commit 563548d

File tree

6 files changed

+19
-13
lines changed

6 files changed

+19
-13
lines changed

CHANGELOG.md

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

4+
## v3.0.57
5+
* Added `pushNotificationDeliveryOption` in `UserMessageParams` and `FileMessageParams` to determine whether it’d deliver the push notification for a user/file message.
6+
* Added `channelCustomTypes` in `getTotalUnreadMessageCount()` to get an unread message count of `GroupChannel` with specific custom types.
7+
48
## v3.0.56
59
* Changed an ephemeral `GroupChannel` to maintain fields of `lastMessage` and `unreadMessageCount` after connected.
610
* Update `SendBird.d.ts` file.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ 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.56
42+
## Upgrading to v3.0.57
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-
* Changed an ephemeral `GroupChannel` to maintain fields of `lastMessage` and `unreadMessageCount` after connected.
45-
* Update `SendBird.d.ts` file.
46-
44+
* Added `pushNotificationDeliveryOption` in `UserMessageParams` and `FileMessageParams` to determine whether it’d deliver the push notification for a user/file message.
45+
* Added `channelCustomTypes` in `getTotalUnreadMessageCount()` to get an unread message count of `GroupChannel` with specific custom types.
4746

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

SendBird.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Type Definitions for SendBird SDK v3.0.56
2+
* Type Definitions for SendBird SDK v3.0.57
33
* homepage: https://sendbird.com/
44
* git: https://github.com/smilefam/SendBird-SDK-JavaScript
55
*/
@@ -238,6 +238,7 @@ declare namespace SendBird {
238238
targetLanguages: Array<string>;
239239
mentionedUserIds: Array<string>;
240240
mentionedUsers: Array<User>;
241+
pushNotificationDeliveryOption: 'default' | 'suppress';
241242
}
242243
interface UserMessage extends BaseMessageInstance {
243244
sender: User;
@@ -259,6 +260,7 @@ declare namespace SendBird {
259260
thumbnailSizes: Array<ThumbnailSize>;
260261
mentionedUserIds: Array<string>;
261262
mentionedUsers: Array<User>;
263+
pushNotificationDeliveryOption: 'default' | 'suppress';
262264
}
263265
interface FileMessage extends BaseMessageInstance {
264266
sender: User;
@@ -872,6 +874,7 @@ declare namespace SendBird {
872874
createPublicGroupChannelListQuery(): PublicGroupChannelListQuery;
873875

874876
getTotalUnreadMessageCount(callback: groupChannelCountCallback): void;
877+
getTotalUnreadMessageCount(channelCustomTypes: Array<string>, callback: groupChannelCountCallback): void;
875878
getTotalUnreadChannelCount(callback: groupChannelCountCallback): void;
876879

877880
createChannel(groupChannelParams: GroupChannelParams, callback: groupChannelCallback): void;

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.56",
3+
"version": "3.0.57",
44
"authors": ["SendBird <support@sendbird.com>"],
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.56",
3+
"version": "3.0.57",
44
"description": "SendBird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {

0 commit comments

Comments
 (0)