Skip to content

Commit 437416a

Browse files
committed
docs(feishu): preserve account action gates when enabling stickers
1 parent fbbe8e0 commit 437416a

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

‎docs/channels/feishu.md‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,26 @@ Enable the sticker action to let the agent resend stickers:
754754
```
755755

756756
For one account only, set `channels.feishu.accounts.<id>.actions.sticker: true`
757-
instead. Send a sticker to that bot first, then ask it to resend the sticker.
757+
instead. An account-level `actions` object **replaces**, rather than merges
758+
with, the channel-level object. Repeat any action gates you want to preserve.
759+
For example, keep reactions disabled while enabling stickers for `work`:
760+
761+
```json5
762+
{
763+
channels: {
764+
feishu: {
765+
actions: { reactions: false },
766+
accounts: {
767+
work: {
768+
actions: { reactions: false, sticker: true },
769+
},
770+
},
771+
},
772+
},
773+
}
774+
```
775+
776+
Send a sticker to that bot first, then ask it to resend the sticker.
758777
The shared `message` tool uses `action: "sticker"` with the received `file_key`
759778
in `fileId` or the first entry of `stickerId`. In multi-account setups, use the
760779
same `accountId` that received the sticker.

0 commit comments

Comments
 (0)