Skip to content

Commit 3132521

Browse files
Merge branch 'master' into feature/CHA-2354-predefined-filter-response
2 parents 459ccca + 2ee3f97 commit 3132521

File tree

5 files changed

+58
-1
lines changed

5 files changed

+58
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [4.29.0](https://github.com/GetStream/stream-chat-python/compare/v4.27.0...v4.29.0) (2026-01-19)
6+
7+
8+
### Features
9+
10+
* add batch updates support ([#216](https://github.com/GetStream/stream-chat-python/issues/216)) ([cdd180c](https://github.com/GetStream/stream-chat-python/commit/cdd180c918d24884a86f1407207b72b94386a931))
11+
* add message_timestamp option to MarkUnread ([#211](https://github.com/GetStream/stream-chat-python/issues/211)) ([1e239cd](https://github.com/GetStream/stream-chat-python/commit/1e239cd0688027442e169c968e63ef21e1a3c018))
12+
513
## [4.28.0](https://github.com/GetStream/stream-chat-python/compare/v4.27.0...v4.28.0) (2025-11-13)
614

715

stream_chat/__pkg__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__author__ = "Tommaso Barbugli"
22
__copyright__ = "Copyright 2019-2022, Stream.io, Inc"
3-
__version__ = "4.28.0"
3+
__version__ = "4.29.0"
44
__maintainer__ = "Tommaso Barbugli"
55
__email__ = "support@getstream.io"
66
__status__ = "Production"

stream_chat/async_chat/client.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,22 @@ async def query_banned_users(self, query_conditions: Dict) -> StreamResponse:
232232
"query_banned_users", params={"payload": json.dumps(query_conditions)}
233233
)
234234

235+
async def query_future_channel_bans(self, **options: Any) -> StreamResponse:
236+
"""
237+
Query future channel bans created by a user.
238+
239+
:param options: Optional parameters including:
240+
- user_id: The ID of the user who created the bans
241+
- exclude_expired_bans: Whether to exclude expired bans
242+
- limit: Maximum number of results to return
243+
- offset: Number of results to skip
244+
245+
:return: A StreamResponse containing the list of future channel bans
246+
"""
247+
return await self.get(
248+
"query_future_channel_bans", params={"payload": json.dumps(options)}
249+
)
250+
235251
async def block_user(
236252
self, blocked_user_id: str, user_id: str, **options: Any
237253
) -> StreamResponse:

stream_chat/base/client.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,23 @@ def query_banned_users(
356356
"""
357357
pass
358358

359+
@abc.abstractmethod
360+
def query_future_channel_bans(
361+
self, **options: Any
362+
) -> Union[StreamResponse, Awaitable[StreamResponse]]:
363+
"""
364+
Query future channel bans created by a user.
365+
366+
:param options: Optional parameters including:
367+
- user_id: The ID of the user who created the bans
368+
- exclude_expired_bans: Whether to exclude expired bans
369+
- limit: Maximum number of results to return
370+
- offset: Number of results to skip
371+
372+
:return: A StreamResponse containing the list of future channel bans
373+
"""
374+
pass
375+
359376
@abc.abstractmethod
360377
def block_user(
361378
self, blocked_user_id: str, user_id: str, **options: Any

stream_chat/client.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,22 @@ def query_banned_users(self, query_conditions: Dict) -> StreamResponse:
232232
"query_banned_users", params={"payload": json.dumps(query_conditions)}
233233
)
234234

235+
def query_future_channel_bans(self, **options: Any) -> StreamResponse:
236+
"""
237+
Query future channel bans created by a user.
238+
239+
:param options: Optional parameters including:
240+
- user_id: The ID of the user who created the bans
241+
- exclude_expired_bans: Whether to exclude expired bans
242+
- limit: Maximum number of results to return
243+
- offset: Number of results to skip
244+
245+
:return: A StreamResponse containing the list of future channel bans
246+
"""
247+
return self.get(
248+
"query_future_channel_bans", params={"payload": json.dumps(options)}
249+
)
250+
235251
def block_user(
236252
self, blocked_user_id: str, user_id: str, **options: Any
237253
) -> StreamResponse:

0 commit comments

Comments
 (0)