Server-Side Filtering in `conversations.list()` Method
fabriguespe opened this issue · comments
Fabri commented
Feature Request:
Enhance the conversations.list()
function to support server-side time-based filtering and provide sorting by the most recent messages.
Current Behavior:
The function fetches all conversations and applies filters like startTime
and endTime
only after loading, which is not efficient.
Desired Features:
- Server-Side Time Filtering: Allow filtering conversations by
startTime
andendTime
on the server before fetching to the client. - Recent Message Sorting: Enable sorting by the timestamp of the most recent message while respecting protocol privacy.
Ry Racherbaumer commented
see this blog post that outlines why the current behavior is intentional.