Skip to content

Commit 1fb134d

Browse files
feat: add targetUserId to UserQueryFutureChannelBansRequestData
Add target_user_id parameter to allow filtering future channel bans by target user, especially for client-side requests. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8af27e7 commit 1fb134d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • src/main/java/io/getstream/chat/java/models

src/main/java/io/getstream/chat/java/models/User.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,10 @@ public static class UserQueryFutureChannelBansRequestData {
12211221
@JsonProperty("user_id")
12221222
private String userId;
12231223

1224+
@Nullable
1225+
@JsonProperty("target_user_id")
1226+
private String targetUserId;
1227+
12241228
@Nullable
12251229
@JsonProperty("exclude_expired_bans")
12261230
private Boolean excludeExpiredBans;

0 commit comments

Comments
 (0)