Skip to content

Commit

Permalink
* Add custom type and super mode filter to getTotalUnreadChannelCount
Browse files Browse the repository at this point in the history
  • Loading branch information
cozzin committed Mar 8, 2022
1 parent 2114e40 commit 4c41dbc
Show file tree
Hide file tree
Showing 16 changed files with 737 additions and 579 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Change Log
### v3.1.7 (Mar 8, 2022)
* Add custom type and super mode filter to `getTotalUnreadChannelCount`

### v3.1.6 (Mar 2, 2022)
* Fix issue with local caching where messages were loading slowly.

Expand Down
2 changes: 1 addition & 1 deletion SendBirdSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SendBirdSDK"
s.version = "3.1.6"
s.version = "3.1.7"
s.summary = "SendBird iOS Framework"
s.description = "Messaging and Chat API for Mobile Apps and Websites"
s.homepage = "https://sendbird.com"
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

@class SBDDatabase;
@class SBDPollListQuery, SBDPollVoterListQuery;
@class SBDGroupChannelTotalUnreadChannelCountParams;

typedef void(^SBDBackgroundSessionBlock)(void);

Expand Down Expand Up @@ -726,16 +727,26 @@ typedef void(^SBDBackgroundSessionBlock)(void);
/**
* Gets the total unread channel count of all group channels.
*
* @param completionHandler The handler block to execute. The `unreadCount` is the total count of unread channels in all of group channel which the current is a member.
* @param completionHandler The handler block to execute. The `unreadCount` is the total count of unread group channels of which the current user is a member.
*
* @since 3.0.116
*/
+ (void)getTotalUnreadChannelCountWithCompletionHandler:(nonnull void (^)(NSUInteger unreadCount, SBDError * _Nullable error))completionHandler;

/**
* Gets the total unread channel count of all group channels with filters of params.
*
* @param params The instance of parameters to filter.
* @param completionHandler The handler block to execute. The `unreadCount` is the total count of unread group channels of which the current user is a member, filtered by `params`.
*
* @since 3.1.7
*/
+ (void)getTotalUnreadChannelCountWithParams:(nullable SBDGroupChannelTotalUnreadChannelCountParams *)params completionHandler:(nonnull void (^)(NSUInteger unreadCount, SBDError * _Nullable error))completionHandler;

/**
* Gets the number of unread messages in group channels.
*
* @param completionHandler The handler block to execute. The `unreadCount` is the total count of unread messages in all of group channel which the current is a member.
* @param completionHandler The handler block to execute. The `unreadCount` is the total count of unread messages in all of group channel which the current user is a member.
*
* @since 3.0.116
*/
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>3.1.6</string>
<string>3.1.7</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

@class SBDDatabase;
@class SBDPollListQuery, SBDPollVoterListQuery;
@class SBDGroupChannelTotalUnreadChannelCountParams;

typedef void(^SBDBackgroundSessionBlock)(void);

Expand Down Expand Up @@ -726,16 +727,26 @@ typedef void(^SBDBackgroundSessionBlock)(void);
/**
* Gets the total unread channel count of all group channels.
*
* @param completionHandler The handler block to execute. The `unreadCount` is the total count of unread channels in all of group channel which the current is a member.
* @param completionHandler The handler block to execute. The `unreadCount` is the total count of unread group channels of which the current user is a member.
*
* @since 3.0.116
*/
+ (void)getTotalUnreadChannelCountWithCompletionHandler:(nonnull void (^)(NSUInteger unreadCount, SBDError * _Nullable error))completionHandler;

/**
* Gets the total unread channel count of all group channels with filters of params.
*
* @param params The instance of parameters to filter.
* @param completionHandler The handler block to execute. The `unreadCount` is the total count of unread group channels of which the current user is a member, filtered by `params`.
*
* @since 3.1.7
*/
+ (void)getTotalUnreadChannelCountWithParams:(nullable SBDGroupChannelTotalUnreadChannelCountParams *)params completionHandler:(nonnull void (^)(NSUInteger unreadCount, SBDError * _Nullable error))completionHandler;

/**
* Gets the number of unread messages in group channels.
*
* @param completionHandler The handler block to execute. The `unreadCount` is the total count of unread messages in all of group channel which the current is a member.
* @param completionHandler The handler block to execute. The `unreadCount` is the total count of unread messages in all of group channel which the current user is a member.
*
* @since 3.0.116
*/
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
</data>
<key>Headers/SBDMain.h</key>
<data>
RKoMWbRkplMPYdv78prl1AE0NBY=
DW4tHN548bm5FhI0cv7sbr8HK5s=
</data>
<key>Headers/SBDMappable.h</key>
<data>
Expand Down Expand Up @@ -342,7 +342,7 @@
</data>
<key>Info.plist</key>
<data>
4Y8cR55BBcR7PolJNyh3wivRq1w=
ubceN0BHLjCD9x6+PeusaF1EOn4=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down Expand Up @@ -674,11 +674,11 @@
<dict>
<key>hash</key>
<data>
RKoMWbRkplMPYdv78prl1AE0NBY=
DW4tHN548bm5FhI0cv7sbr8HK5s=
</data>
<key>hash2</key>
<data>
iMKFlIxQ71ePJ46FDBafrETv8H88jbuXhguXwQVFC5E=
D9EstPqd47MkdbYPQ5AEtcrRrKXqXdbg2nsP/OZpB/k=
</data>
</dict>
<key>Headers/SBDMappable.h</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>3.1.6</string>
<string>3.1.7</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
Binary file not shown.

0 comments on commit 4c41dbc

Please sign in to comment.