From 2bcd46f1f1366f69e855423ad9475ccdd5c4ab0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E5=B3=B0=E5=A8=9F?= Date: Tue, 9 Jun 2026 12:19:38 +0800 Subject: [PATCH] docs(im): document chat.user_setting batch_query/batch_update Add the chat.user_setting resource (per-user mute prefs: is_muted / is_mute_at_all, user-only, <=10 chats per call) to the lark-im skill's API Resources list and permission table, exposing batch_query / batch_update via the generic im gateway. Change-Id: Ifdd163bfa1cdbfcb56cbf12a3f52e40b61d85e2d --- skills/lark-im/SKILL.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/skills/lark-im/SKILL.md b/skills/lark-im/SKILL.md index 5537eb0561..bc39aae12b 100644 --- a/skills/lark-im/SKILL.md +++ b/skills/lark-im/SKILL.md @@ -134,6 +134,11 @@ lark-cli im [flags] # 调用 API - `delete` — 将用户或机器人移出群聊。Identity: supports `user` and `bot`; only group owner, admin, or creator bot can remove others; max 50 users or 5 bots per request. - `get` — 获取群成员列表。Identity: supports `user` and `bot`; the caller must be in the target chat and must belong to the same tenant for internal chats. +### chat.user_setting + + - `batch_query` — 批量查询当前用户在群内的个人偏好设置 (e.g. `is_muted` mutes normal messages, `is_mute_at_all` mutes @all messages); up to 10 chats per request. Identity: `user` only (`user_access_token`); the caller must be in each target chat. + - `batch_update` — 批量更新当前用户在群内的个人偏好设置 (e.g. `is_muted` mutes normal messages, `is_mute_at_all` mutes @all messages); up to 10 chats per request. Identity: `user` only (`user_access_token`); the caller must be in each target chat. + ### chat.managers - `add_managers` — 指定群管理员。Identity: supports `user` and `bot`; only the group owner can add managers; max 10 managers per chat (20 for super-large chats), and at most 5 bots per request. @@ -196,6 +201,8 @@ lark-cli im [flags] # 调用 API | `chat.members.create` | `im:chat.members:write_only` | | `chat.members.delete` | `im:chat.members:write_only` | | `chat.members.get` | `im:chat.members:read` | +| `chat.user_setting.batch_query` | `im:chat.user_setting:read` | +| `chat.user_setting.batch_update` | `im:chat.user_setting:write` | | `chat.managers.add_managers` | `im:chat.managers:write_only` | | `chat.managers.delete_managers` | `im:chat.managers:write_only` | | `chat.moderation.get` | `im:chat.moderation:read` |