Skip to content

List unread conversations/threads/messages #2539

@fluidsonic

Description

@fluidsonic

Package

@slack/web-api

Description

Fetching only unread conversations & messages is very useful for AI clients to summarize to the user what is new in Slack since they last checked.

There should be a simple way to list

  • conversations with unread messages
  • threads with unread messages
  • all unread messages

Alternatives Considered

Currently, the only way to list unread conversations seems to be

  1. users.conversations (fetch ALL of them)
  2. conversations.info to get last_read (for ALL of them)
  3. conversations.history to get the latest message (for ALL of them)
  4. Compare the latest message timestamp of each conversation with its last_read property.

⚠️ For 100 channels + DMs, that's 201 API calls!
And that doesn't even cover unread threads yet.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions