mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
1 parent
c75567cf15
commit
1375db9a20
15 files changed
+160
-88
No files matched your search
@@ -231,11 +231,11 @@ WebHooker 使用应用级凭证(`FEISHU_APP_ID` / `FEISHU_APP_SECRET`)请求
|
||||
|
||||
### 所需权限
|
||||
|
||||
| 权限 | 用途 |
|
||||
| ---- | ---- |
|
||||
| `im:message` | 读取和发送单聊与群聊消息。 |
|
||||
| 权限 | 用途 |
|
||||
| ------------------------ | ------------------------------------------------- |
|
||||
| `im:message` | 读取和发送单聊与群聊消息。 |
|
||||
| `im:message:send_as_bot` | 以应用机器人身份发送消息(`im:message` 的替代)。 |
|
||||
| `im:message:send` | 旧版发送消息权限(`im:message` 的替代)。 |
|
||||
| `im:message:send` | 旧版发送消息权限(`im:message` 的替代)。 |
|
||||
|
||||
> [!NOTE]
|
||||
> 不支持“自定义机器人”的群级 Webhook URL。WebHooker 统一使用**应用机器人**,以保持与 Discord、Telegram 一致的凭证管理、消息编辑、多群路由与入站指令能力。
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
| `event` | 事件类型(如 `push`、`pull_request`、`custom`) |
|
||||
| `repo` | 仓库全名(存在时) |
|
||||
| `target` | 消息发送到的目标 id |
|
||||
| `platform` | `discord`、`telegram` 或 `feishu` |
|
||||
| `platform` | `discord`、`telegram` 或 `feishu` |
|
||||
| `ok` | 发送是否成功 |
|
||||
| `status` | 平台 API 的 HTTP 状态码(适用时) |
|
||||
| `error` | 失败时的错误信息 |
|
||||
|
||||
Reference in new issue
Block a user