pywayne-lark-bot

Send Feishu/Lark messages and manage bot interactions via Python.

8|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/wangyendt/wayne-skills --skill pywayne-lark-bot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pywayne-lark-bot
Source: https://github.com/wangyendt/wayne-skills/tree/main/pywayne/lark-bot
Command: npx skills add https://github.com/wangyendt/wayne-skills --skill pywayne-lark-bot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Feishu/Lark Bot API wrapper for full-featured Feishu bot interactions. Use when developers need to send messages (text, image, audio, file, post, interactive, share), especially Markdown delivery via send_markdown_to_chat with card_v2/post routing, table fallback, and auto chunking; manage files (upload/download); query user/group info; or listen for incoming messages with LarkBotListener.

Core Features & Use Cases

  • Messaging: send text, images, audio, files, posts, interactive cards, or shares to users or groups, including Markdown messages with automatic chunking and routing.
  • Formatting & content: TextContent, PostContent, CardContentV2 builders for rich messages and Markdown rendering.
  • File & data ops: upload/download files and manage message resources.
  • Directory-based flow: query user/group data and listen for incoming messages using LarkBotListener.
  • Extensibility: optional components (scripts/references/assets) for deterministic tasks, documentation, and assets.

Quick Start

Initialize LarkBot with your app_id and app_secret, then send a message to a user or chat using the available API wrappers.

Frequently Asked Questions about pywayne-lark-bot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send Markdown messages to a Feishu or Lark group using a Python bot?

You can send Markdown messages to Feishu or Lark groups by using a Python API wrapper that routes content through card_v2 or post formats, automatically handling table fallback and message chunking for long content delivery.

Can I build interactive cards for Lark bots without writing raw JSON?

Yes, you can build interactive cards for Lark bots using modular content builders like CardContentV2, which construct rich message payloads programmatically in Python without requiring manual JSON serialization.

How do I listen for incoming messages sent to a Feishu bot in Python?

You can listen for incoming messages sent to a Feishu bot by implementing the LarkBotListener component, which manages the event subscription and message routing workflows within your Python application.

Does this Lark bot wrapper support file uploads and downloads?

Yes, the Lark bot wrapper supports file operations, allowing you to programmatically upload and download files and manage message resources directly through the Feishu Bot API.

What is the best way to query user and group data for a Feishu messaging workflow?

The best way to query user and group data for a Feishu messaging workflow is using a Python API wrapper that provides directory-based flow methods to retrieve and manage target user and group information before sending messages.

How do I send images and audio files through a Lark bot to specific users?

You can send images and audio files through a Lark bot to specific users by initializing the Python bot client with your app credentials and calling the available API wrappers for multimedia message delivery.