Skip to content

Commit

Permalink
v3.0.57
Browse files Browse the repository at this point in the history
  • Loading branch information
Alchemist85K committed Mar 30, 2018
1 parent 2ce43c1 commit 563548d
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

## v3.0.57
* Added `pushNotificationDeliveryOption` in `UserMessageParams` and `FileMessageParams` to determine whether it’d deliver the push notification for a user/file message.
* Added `channelCustomTypes` in `getTotalUnreadMessageCount()` to get an unread message count of `GroupChannel` with specific custom types.

## v3.0.56
* Changed an ephemeral `GroupChannel` to maintain fields of `lastMessage` and `unreadMessageCount` after connected.
* Update `SendBird.d.ts` file.
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ If you have trouble importing `SendBird`, please check your `tsconfig.json` file
# [Documentation](https://docs.sendbird.com/javascript)


## Upgrading to v3.0.56
## Upgrading to v3.0.57
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).
* Changed an ephemeral `GroupChannel` to maintain fields of `lastMessage` and `unreadMessageCount` after connected.
* Update `SendBird.d.ts` file.

* Added `pushNotificationDeliveryOption` in `UserMessageParams` and `FileMessageParams` to determine whether it’d deliver the push notification for a user/file message.
* Added `channelCustomTypes` in `getTotalUnreadMessageCount()` to get an unread message count of `GroupChannel` with specific custom types.

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

Expand Down
5 changes: 4 additions & 1 deletion SendBird.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Type Definitions for SendBird SDK v3.0.56
* Type Definitions for SendBird SDK v3.0.57
* homepage: https://sendbird.com/
* git: https://github.com/smilefam/SendBird-SDK-JavaScript
*/
Expand Down Expand Up @@ -238,6 +238,7 @@ declare namespace SendBird {
targetLanguages: Array<string>;
mentionedUserIds: Array<string>;
mentionedUsers: Array<User>;
pushNotificationDeliveryOption: 'default' | 'suppress';
}
interface UserMessage extends BaseMessageInstance {
sender: User;
Expand All @@ -259,6 +260,7 @@ declare namespace SendBird {
thumbnailSizes: Array<ThumbnailSize>;
mentionedUserIds: Array<string>;
mentionedUsers: Array<User>;
pushNotificationDeliveryOption: 'default' | 'suppress';
}
interface FileMessage extends BaseMessageInstance {
sender: User;
Expand Down Expand Up @@ -872,6 +874,7 @@ declare namespace SendBird {
createPublicGroupChannelListQuery(): PublicGroupChannelListQuery;

getTotalUnreadMessageCount(callback: groupChannelCountCallback): void;
getTotalUnreadMessageCount(channelCustomTypes: Array<string>, callback: groupChannelCountCallback): void;
getTotalUnreadChannelCount(callback: groupChannelCountCallback): void;

createChannel(groupChannelParams: GroupChannelParams, callback: groupChannelCallback): void;
Expand Down
12 changes: 6 additions & 6 deletions SendBird.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sendbird",
"version": "3.0.56",
"version": "3.0.57",
"authors": ["SendBird <[email protected]>"],
"homepage": "https://github.com/smilefam/SendBird-SDK-JavaScript",
"description": "SendBird JavaScript SDK",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sendbird",
"version": "3.0.56",
"version": "3.0.57",
"description": "SendBird JavaScript SDK",
"main": "SendBird.min.js",
"dependencies": {
Expand Down

0 comments on commit 563548d

Please sign in to comment.