Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

614 B
Raw Blame
export type TopicCommentActivityKind = 'commented' | 'commentedOnMessage' | 'mentioned' | 'replied';

export interface TopicCommentActivityRecipient {
  kind: TopicCommentActivityKind;
  userId: string;
}

export interface NotifyTopicCommentActivityParams {
  actorUserId: string;
  commentId: string;
  recipients: TopicCommentActivityRecipient[];
  rootCommentId: string;
  topicId: string;
  workspaceId: string;
}

/** Optional integration hook for delivering comment activity to recipients. */
export async function notifyTopicCommentActivity(
  _params: NotifyTopicCommentActivityParams,
): Promise<void> {}