返回顶部
f

feishu-image-sender飞书图片发送

飞书图片发送 - 使用API直接发送图片到飞书 / Send images to Feishu via API

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
375
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

feishu-image-sender

飞书图片发送 / Feishu Image Sender

通过飞书开放平台API发送图片。

使用方法 / Usage

命令行

bash

发送图片

./scripts/send.sh <图片路径> <用户ID>

示例

./scripts/send.sh /tmp/test.png ou_xxxxxxxx

Python

python from feishu_image import FeishuImageSender

sender = FeishuImageSender()
sender.sendimage(/tmp/test.png, ouxxxxxxxx)

配置 / Configuration

脚本已内置APPID和APPSECRET,无需额外配置。

原理 / How It Works

  1. 1. 获取 tenantaccesstoken
  2. 上传图片到飞书获取 imagekey
  3. 使用 imagekey 发送图片消息

API调用

POST /open-apis/auth/v3/tenantaccesstoken/internal
POST /open-apis/im/v1/images
POST /open-apis/im/v1/messages

权限要求

  • - im:resource
  • im:message

更新日志

  • - v1.0.0: 初始版本

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 feishu-img-send-1776207658 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 feishu-img-send-1776207658 技能

通过命令行安装

skillhub install feishu-img-send-1776207658

下载

⬇ 下载 feishu-image-sender v1.0.0(免费)

文件大小: 3.11 KB | 发布时间: 2026-4-15 12:31

v1.0.0 最新 2026-4-15 12:31
- Initial release of feishu-image-sender (v1.0.0)
- Send images to Feishu users via API from shell or Python
- No extra configuration needed (includes app credentials)
- Supports image uploading and direct message sending via Feishu open platform

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部