Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stream_chat/base/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,11 @@ def mark_unread(
self, user_id: str, **data: Any
) -> Union[StreamResponse, Awaitable[StreamResponse]]:
"""
Marks channel as unread from a specific message or thread, if thread_id is provided in data
Marks channel as unread from a specific message, thread, or timestamp, if thread_id is provided in data
a thread will be searched, otherwise a message.

:param user_id: the user ID for the event
:param data: additional data, ie {"message_id": last_message_id} or {"thread_id": thread_id}
:param data: additional data, ie {"message_id": last_message_id}, {"thread_id": thread_id}, or {"message_timestamp": timestamp}
:return: The server response
"""
pass
Expand Down