ThreadRowAction
An app command appended to each conversation row menu. run receives the
thread id; a rejected promise is settled by the list and changes nothing.
import type { ThreadRowAction } from '@threadplane/chat';Declaration
export interface ThreadRowAction {
readonly id: string;
readonly label: string;
readonly run: (threadId: string) => void | Promise<void>;
}Members
id
readonly id: string;label
readonly label: string;run
readonly run: (threadId: string) => void | Promise<void>;