-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Background
We're building an IM bot integration on top of Chat SDK where agents respond to @mentions in threads. After the agent replies, we'd like to rename the thread to a meaningful summary (e.g., the topic of the conversation), providing better UX for users browsing threads.
Current Behavior
The Thread interface has no method for updating the thread name. The Adapter interface also lacks any thread-rename capability.
Proposed API
Add a renameThread method to the Adapter interface and a convenience method on Thread:
// Adapter
interface Adapter {
renameThread?(threadId: string, name: string): Promise<void>;
}
// Thread
interface Thread {
setName(name: string): Promise<void>;
}Platform Support
- Discord:
PATCH /channels/{thread.id}with{ name }— supported natively - Slack:
conversations.renameAPI — supported for channels/threads
Use Case
After an agent finishes processing a user's message, we want to set the thread name to a short summary of the conversation, making it easier for users to identify threads at a glance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels