feat(feishu): add reaction event support (created/deleted) (openclaw#16716) thanks @schumilin

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: schumilin <2003498+schumilin@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
Lin Z
2026-02-28 10:54:24 +08:00
committed by GitHub
parent afa7ac1f68
commit 8241145ada
4 changed files with 348 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ export type FeishuMessageInfo = {
chatId: string;
senderId?: string;
senderOpenId?: string;
senderType?: string;
content: string;
contentType: string;
createTime?: number;
@@ -82,6 +83,7 @@ export async function getMessageFeishu(params: {
chatId: item.chat_id ?? "",
senderId: item.sender?.id,
senderOpenId: item.sender?.id_type === "open_id" ? item.sender?.id : undefined,
senderType: item.sender?.sender_type,
content,
contentType: item.msg_type ?? "text",
createTime: item.create_time ? parseInt(item.create_time, 10) : undefined,