Skip to content

Commit d33cc81

Browse files
chore: added sorbet type checking
1 parent e631e88 commit d33cc81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/stream-chat/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,8 @@ def unread_counts(user_id)
366366
get('/unread', params: { user_id: user_id })
367367
end
368368

369+
# Get unread counts for a batch of users.
370+
sig { params(user_ids: T::Array[String]).returns(StreamChat::StreamResponse) }
369371
def unread_counts_batch(user_ids)
370372
post('/unread_batch', data: { user_ids: user_ids })
371373
end

0 commit comments

Comments
 (0)