← 返回
沟通协作

feishu-card-sender-beautify 飞书推送展示卡片脚本

发送飞书 Interactive Card 格式消息,用于美化富文本卡片推送和优化通知。 触发条件:(1) 用户要求发送卡片消息 (2) 定时任务推送 (3) 格式化通知需求
发送飞书 Interactive Card 格式消息,用于美化富文本卡片推送和优化通知。 触发条件:(1) 用户要求发送卡片消息 (2) 定时任务推送 (3) 格式化通知需求
kolikoliko
沟通协作 clawhub v1.0.0 1 版本 99876.1 Key: 无需
★ 1
Stars
📥 786
下载
💾 57
安装
1
版本
#latest

概述

feishu-card-sender-beautify

发送飞书 Interactive Card 富文本消息。

快速开始

发送卡片到当前聊天

使用 feishu_im_user_message 工具:

feishu_im_user_message(
    action="send",
    msg_type="interactive",
    receive_id="oc_群聊ID",  # 群聊用 oc_xxx
    receive_id_type="chat_id",
    content=json.dumps(card)
)

卡片结构

card = {
    "config": {"wide_screen_mode": True},
    "header": {
        "title": {"tag": "plain_text", "content": "📰 标题"},
        "template": "blue"  # blue/red/green/yellow/wathet/orange/grey
    },
    "elements": [
        {"tag": "div", "text": {"tag": "lark_md", "content": "正文内容"}}
    ]
}

颜色模板

颜色
---------
blue
red
green绿
yellow
wathet浅蓝
orange
grey

详细文档

注意

  • 群聊 ID 格式:oc_xxx
  • 用户 ID 格式:ou_xxx
  • 发送群聊用 receive_id_type="chat_id"
  • 发送私聊用 receive_id_type="open_id"

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 17:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,599
communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,689
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 114 📥 52,461