feishu-message
v1.0.5飞书消息任务的统一CLI工具,支持获取消息、发送音频、创建群聊及查看置顶消息。
Installation
Please help me install the skill `feishu-message` from SkillHub official store.
npx skills add autogame-17/feishu-message
Feishu Message Skill
A unified toolkit for Feishu messaging operations, providing a single CLI entry point for common tasks.
Usage
Use the unified CLI via index.js:
node skills/feishu-message/index.js <command> [options]
Commands
1. Get Message (get)
Fetch message content by ID. Supports recursive fetching for merged messages.
node skills/feishu-message/index.js get <message_id> [--raw] [--recursive]
Example:
node skills/feishu-message/index.js get om_12345 --recursive
2. Send Audio (send-audio)
Send an audio file as a voice bubble.
node skills/feishu-message/index.js send-audio --target <id> --file <path> [--duration <ms>]
--target: User OpenID (ou_) or ChatID (oc_).--file: Path to audio file (mp3/wav/etc).--duration: (Optional) Duration in ms.
3. Create Group Chat (create-chat)
Create a new group chat with specified users.
node skills/feishu-message/index.js create-chat --name "Project Alpha" --users "ou_1" "ou_2" --desc "Description"
4. List Pins (list-pins)
List pinned messages in a chat.
node skills/feishu-message/index.js list-pins <chat_id>
Legacy Scripts
Standalone scripts are still available for backward compatibility:
- get.js
- send-audio.js
- create_chat.js
- list_pins_v2.js
Dependencies
- axios
- form-data
- music-metadata
- commander