Skip to content

Commit 383cf75

Browse files
Merge pull request #73 from sendbird/release/4.27.0
4.27.0
2 parents 1b5bc44 + 19664ce commit 383cf75

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## v4.27.0 (May 26, 2025)
4+
### Features
5+
6+
- **AI Agent/Desk Channel Filtering**
7+
- Added `AIAgentChannelFilter` and `DeskChannelFilter` enums to support filtering of AI Agent and Desk channels in GroupChannel queries (`INCLUDE`/`EXCLUDE` options).
8+
- Added `aiAgentChannelFilter` and `deskChannelFilter` properties to `GroupChannelListQueryParams`, `GroupChannelListQuery`, and `GroupChannelChangeLogsParams`.
9+
- Internal APIs and query logic were updated to consistently pass and apply these filters.
10+
11+
- **New Channel Properties**
12+
- Added `isAIAgent: Boolean` and `isDesk: Boolean` properties to `GroupChannel` to indicate whether a channel is an AI Agent or Desk channel.
13+
14+
#### Example
15+
16+
```kotlin
17+
// Example: Filtering AI Agent/Desk channels
18+
val params = GroupChannelListQueryParams().apply {
19+
aiAgentChannelFilter = AIAgentChannelFilter.EXCLUDE
20+
deskChannelFilter = DeskChannelFilter.EXCLUDE
21+
}
22+
val query = SendbirdChat.createGroupChannelListQuery(params)
23+
24+
// Example: Using new properties on GroupChannel
25+
if (channel.isAIAgent) {
26+
// Handle AI Agent channel
27+
}
28+
if (channel.isDesk) {
29+
// Handle Desk channel
30+
}
31+
```
332
## v4.26.0 (May 17, 2025)
433
### Feature
534
- Added `markAsUnread(message: BaseMessage)` to `GroupChannel`. This new feature changes the read status of messages in the channel to `unread`, starting from the specified message.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Then, add the dependency to the project's top-level `build.gradle` file:
9191
```gradle
9292
dependencies {
9393
...
94-
implementation 'com.sendbird.sdk:sendbird-chat:4.26.0'
94+
implementation 'com.sendbird.sdk:sendbird-chat:4.27.0'
9595
...
9696
}
9797
```
@@ -104,7 +104,7 @@ TLS 1.3 is enabled by default in Sendbird SDK for Android. To disable it, please
104104
105105
```gradle
106106
dependencies {
107-
implementation ('com.sendbird.sdk:sendbird-chat:4.26.0') {
107+
implementation ('com.sendbird.sdk:sendbird-chat:4.27.0') {
108108
exclude group: 'org.conscrypt', module: 'conscrypt-android'
109109
}
110110
}

0 commit comments

Comments
 (0)