This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git

commit 61cb6c4611f6fd8bf6d825b33b6b0f4d91b8d5d4
Author: Sonui <[email protected]>
AuthorDate: Mon Aug 12 09:50:21 2024 +0800

    docs: add permission set to bot tutorial
---
 notification-lark/README.md    | 1 +
 notification-lark/README_CN.md | 1 +
 2 files changed, 2 insertions(+)

diff --git a/notification-lark/README.md b/notification-lark/README.md
index 250ffec..42dedcf 100644
--- a/notification-lark/README.md
+++ b/notification-lark/README.md
@@ -18,6 +18,7 @@ To use the NotificationLark plugin with your application, 
install it using the f
 
 1. Create a Bot in Lark or Feishu:
    * Visit [Lark](https://open.larksuite.com) or 
[Feishu](https://open.feishu.cn) to create a new bot.
+   * Add `im:message:send_as_bot` Permission to the bot in the `Permission & 
Scopes` tab.
    * In the bot settings, enable the Custom Bot Menu and set the action type 
to Push Event.
    * Configure the menu event with `10001` as the event code.
     ![bot menu set](./docs/1.png)
diff --git a/notification-lark/README_CN.md b/notification-lark/README_CN.md
index 34a3b93..6952845 100644
--- a/notification-lark/README_CN.md
+++ b/notification-lark/README_CN.md
@@ -18,6 +18,7 @@
 
 1. 在 Lark 或飞书中创建机器人:
     * 访问 [Lark](https://open.larksuite.com) 或 [飞书](https://open.feishu.cn) 
创建一个新的机器人。
+    * 添加 `im:message:send_as_bot` 权限在机器人的 `权限管理` 选项卡。
     * 在机器人设置中,启用自定义机器人菜单,并将操作类型设置为 `推送事件`。
     * 使用`10001`作为配置菜单事件代码。
      ![bot menu set](./docs/3.png)

Reply via email to