




















@@ -59,11 +59,11 @@ openclaw pairing approve feishu <CODE>
59596060**Group policy** (`channels.feishu.groupPolicy`):
616162-| Value | Behavior |
63-| ------------- | ------------------------------------------ |
64-| `"open"` | Respond to all messages in groups |
65-| `"allowlist"` | Only respond to groups in `groupAllowFrom` |
66-| `"disabled"` | Disable all group messages |
62+| Value | Behavior |
63+| ------------- | -------------------------------------------------------------------------------------------- |
64+| `"open"` | Respond to all messages in groups |
65+| `"allowlist"` | Only respond to groups in `groupAllowFrom` or explicitly configured under `groups.<chat_id>` |
66+| `"disabled"` | Disable all group messages |
67676868Default: `allowlist`
6969@@ -117,6 +117,23 @@ Default: `allowlist`
117117}
118118```
119119120+You can also admit a group by adding an explicit `groups.<chat_id>` entry. Wildcard defaults under `groups.*` configure matching groups, but they do not admit groups by themselves.
121+122+```json5
123+{
124+ channels: {
125+ feishu: {
126+ groupPolicy: "allowlist",
127+ groups: {
128+ oc_xxx: {
129+ requireMention: false,
130+ },
131+ },
132+ },
133+ },
134+}
135+```
136+120137### Restrict senders within a group
121138122139```json5
@@ -386,34 +403,34 @@ See [Get group/user IDs](#get-groupuser-ids) for lookup tips.
386403387404Full configuration: [Gateway configuration](/gateway/configuration)
388405389-| Setting | Description | Default |
390-| ------------------------------------------------- | ------------------------------------------ | ---------------- |
391-| `channels.feishu.enabled` | Enable/disable the channel | `true` |
392-| `channels.feishu.domain` | API domain (`feishu` or `lark`) | `feishu` |
393-| `channels.feishu.connectionMode` | Event transport (`websocket` or `webhook`) | `websocket` |
394-| `channels.feishu.defaultAccount` | Default account for outbound routing | `default` |
395-| `channels.feishu.verificationToken` | Required for webhook mode | — |
396-| `channels.feishu.encryptKey` | Required for webhook mode | — |
397-| `channels.feishu.webhookPath` | Webhook route path | `/feishu/events` |
398-| `channels.feishu.webhookHost` | Webhook bind host | `127.0.0.1` |
399-| `channels.feishu.webhookPort` | Webhook bind port | `3000` |
400-| `channels.feishu.accounts.<id>.appId` | App ID | — |
401-| `channels.feishu.accounts.<id>.appSecret` | App Secret | — |
402-| `channels.feishu.accounts.<id>.domain` | Per-account domain override | `feishu` |
403-| `channels.feishu.accounts.<id>.tts` | Per-account TTS override | `messages.tts` |
404-| `channels.feishu.dmPolicy` | DM policy | `allowlist` |
405-| `channels.feishu.allowFrom` | DM allowlist (open_id list) | [BotOwnerId] |
406-| `channels.feishu.groupPolicy` | Group policy | `allowlist` |
407-| `channels.feishu.groupAllowFrom` | Group allowlist | — |
408-| `channels.feishu.requireMention` | Require @mention in groups | `true` |
409-| `channels.feishu.groups.<chat_id>.requireMention` | Per-group @mention override | inherited |
410-| `channels.feishu.groups.<chat_id>.enabled` | Enable/disable a specific group | `true` |
411-| `channels.feishu.textChunkLimit` | Message chunk size | `2000` |
412-| `channels.feishu.mediaMaxMb` | Media size limit | `30` |
413-| `channels.feishu.streaming` | Streaming card output | `true` |
414-| `channels.feishu.blockStreaming` | Block-level streaming | `true` |
415-| `channels.feishu.typingIndicator` | Send typing reactions | `true` |
416-| `channels.feishu.resolveSenderNames` | Resolve sender display names | `true` |
406+| Setting | Description | Default |
407+| ------------------------------------------------- | -------------------------------------------------------------------------------- | ---------------- |
408+| `channels.feishu.enabled` | Enable/disable the channel | `true` |
409+| `channels.feishu.domain` | API domain (`feishu` or `lark`) | `feishu` |
410+| `channels.feishu.connectionMode` | Event transport (`websocket` or `webhook`) | `websocket` |
411+| `channels.feishu.defaultAccount` | Default account for outbound routing | `default` |
412+| `channels.feishu.verificationToken` | Required for webhook mode | — |
413+| `channels.feishu.encryptKey` | Required for webhook mode | — |
414+| `channels.feishu.webhookPath` | Webhook route path | `/feishu/events` |
415+| `channels.feishu.webhookHost` | Webhook bind host | `127.0.0.1` |
416+| `channels.feishu.webhookPort` | Webhook bind port | `3000` |
417+| `channels.feishu.accounts.<id>.appId` | App ID | — |
418+| `channels.feishu.accounts.<id>.appSecret` | App Secret | — |
419+| `channels.feishu.accounts.<id>.domain` | Per-account domain override | `feishu` |
420+| `channels.feishu.accounts.<id>.tts` | Per-account TTS override | `messages.tts` |
421+| `channels.feishu.dmPolicy` | DM policy | `allowlist` |
422+| `channels.feishu.allowFrom` | DM allowlist (open_id list) | [BotOwnerId] |
423+| `channels.feishu.groupPolicy` | Group policy | `allowlist` |
424+| `channels.feishu.groupAllowFrom` | Group allowlist | — |
425+| `channels.feishu.requireMention` | Require @mention in groups | `true` |
426+| `channels.feishu.groups.<chat_id>.requireMention` | Per-group @mention override; explicit IDs also admit the group in allowlist mode | inherited |
427+| `channels.feishu.groups.<chat_id>.enabled` | Enable/disable a specific group | `true` |
428+| `channels.feishu.textChunkLimit` | Message chunk size | `2000` |
429+| `channels.feishu.mediaMaxMb` | Media size limit | `30` |
430+| `channels.feishu.streaming` | Streaming card output | `true` |
431+| `channels.feishu.blockStreaming` | Block-level streaming | `true` |
432+| `channels.feishu.typingIndicator` | Send typing reactions | `true` |
433+| `channels.feishu.resolveSenderNames` | Resolve sender display names | `true` |
417434418435---
419436此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。