Skip to content

feat: support chat_mode=topic in +chat-create #421

@Vicky-v7

Description

@Vicky-v7

Feature Request

Problem

Currently lark-cli im +chat-create only creates regular group chats (chat_mode: group). There's no way to create topic mode groups (chat_mode: topic) via the CLI.

I also tried using lark-cli api POST /open-apis/im/v1/chats with "chat_mode": "topic" in the request body, but the response always returns chat_mode: group — the parameter seems to be silently ignored.

Expected Behavior

+chat-create should support a --chat-mode flag (or similar) that allows creating topic groups:

lark-cli im +chat-create --name "My Topic Group" --chat-mode topic --users "ou_xxx" --set-bot-manager

Context

Topic groups (话题群) are a core Feishu feature where messages are organized into threads/topics. They're ideal for structured content like daily digests, newsletters, or project updates. Currently the only way to create one is through the Feishu client UI, which breaks automation workflows.

API Reference

The Feishu API POST /open-apis/im/v1/chats documents chat_mode as a request body field. The chat-members API description explicitly references both group and topic modes as valid. It would be great if the CLI (and the underlying API) fully supports creating topic mode chats.

Environment

  • lark-cli installed via Homebrew on macOS
  • Using bot identity (--as bot)

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain/imPR touches the im domainenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions