Skip to content

Commit 64ddb4b

Browse files
authored
feat: support option to mark messages unread by message timestamp (#1648)
## CLA - [ ] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required). - [ ] Code changes are tested ## Description of the changes, What, Why and How? When marking messages as unread, it is now possible to pass a timestamp to mark all messages after this time as unread for a channel. ## Changelog -
1 parent 9b580b0 commit 64ddb4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,6 +1262,7 @@ export type MarkUnreadOptions = {
12621262
connection_id?: string;
12631263
message_id?: string;
12641264
thread_id?: string;
1265+
message_timestamp?: string | Date;
12651266
user?: UserResponse;
12661267
user_id?: string;
12671268
};

0 commit comments

Comments
 (0)