feat: add KOOK platform adapter documentation (#72)
- Add KOOK integration tutorial (Chinese and English versions) - Add 12 key screenshots covering the complete integration process - Update platform support list in both Chinese and English - Update navigation configuration in VitePress - Update features page to include KOOK platform support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
@@ -150,6 +150,7 @@ export default defineConfig({
|
||||
{ text: "Telegram", link: "/zh/deploy/platforms/telegram" },
|
||||
{ text: "Slack", link: "/zh/deploy/platforms/slack" },
|
||||
{ text: "LINE", link: "/zh/deploy/platforms/line" },
|
||||
{ text: "KOOK", link: "/zh/deploy/platforms/kook" },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -380,6 +381,7 @@ export default defineConfig({
|
||||
{ text: "Telegram", link: "/en/deploy/platforms/telegram" },
|
||||
{ text: "Slack", link: "/en/deploy/platforms/slack" },
|
||||
{ text: "LINE", link: "/en/deploy/platforms/line" },
|
||||
{ text: "KOOK", link: "/en/deploy/platforms/kook" },
|
||||
{ text: "Lark", link: "/en/deploy/platforms/lark" },
|
||||
{ text: "DingTalk", link: "/en/deploy/platforms/dingtalk" },
|
||||
{
|
||||
|
||||
|
After Width: | Height: | Size: 91 KiB |
|
After Width: | Height: | Size: 106 KiB |
|
After Width: | Height: | Size: 109 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 149 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 52 KiB |
@@ -0,0 +1,63 @@
|
||||
# Integrating KOOK Bot
|
||||
|
||||
## Create a Bot
|
||||
|
||||
Visit the [KOOK Developer Center](https://developer.kookapp.cn/), log in and access the console.
|
||||
|
||||

|
||||
|
||||
Click "Create Application" and fill in the application information.
|
||||
|
||||

|
||||
|
||||
After the application is created, enter the application details page.
|
||||
|
||||

|
||||
|
||||
You can view the basic information of the application on the application overview page.
|
||||
|
||||

|
||||
|
||||
## Get Bot Token
|
||||
|
||||
In the application page, click the "Bot" tab, copy the Bot Token and save it securely. You will need it later.
|
||||
|
||||

|
||||
|
||||
## Configure Bot Permissions
|
||||
|
||||
**Important:** In the "Bot" settings, find the "Message Filtering" option and click to configure.
|
||||
|
||||

|
||||
|
||||
Enable all message-related event permissions, including channel messages and private message events. Otherwise, the bot will not be able to receive messages.
|
||||
|
||||

|
||||
|
||||
## Invite the Bot
|
||||
|
||||
In the bot settings page, you can generate an invitation link to invite the bot to your server.
|
||||
|
||||

|
||||
|
||||
## Connect to LangBot
|
||||
|
||||
Open the LangBot Webui page, and click to create a new bot on the "Bots" page.
|
||||
|
||||

|
||||
|
||||
Select the KOOK platform, fill in the bot name and Bot Token.
|
||||
|
||||

|
||||
|
||||
After saving, the bot will appear in the list.
|
||||
|
||||

|
||||
|
||||
Click the enable button to start the bot. If successfully configured, the bot status will show as running.
|
||||
|
||||

|
||||
|
||||
## Using the Bot
|
||||
|
||||
Now in the KOOK server, the bot can receive and reply to messages normally. The bot supports both channel messages and private messages.
|
||||
@@ -11,6 +11,7 @@ Bots are used to receive message events from messaging platforms and call pipeli
|
||||
| Telegram | ✅ | | [Tutorial](/en/deploy/platforms/telegram) |
|
||||
| Slack | ✅ | | [Tutorial](/en/deploy/platforms/slack) |
|
||||
| LINE | ✅ | | [Tutorial](/en/deploy/platforms/line) |
|
||||
| KOOK | ✅ | | [Tutorial](/en/deploy/platforms/kook) |
|
||||
| Lark | ✅ | | [Tutorial](/en/deploy/platforms/lark) |
|
||||
| DingTalk | ✅ | | [Tutorial](/en/deploy/platforms/dingtalk) |
|
||||
| WeCom (Enterprise WeChat) | ✅ | Enterprise internal bot | [Tutorial](/en/deploy/platforms/wecom/wecom) |
|
||||
|
||||
@@ -17,6 +17,7 @@ LangBot is an open-source LLM native instant messaging robot development platfor
|
||||
| Telegram | ✅ | Support streaming output |
|
||||
| Slack | ✅ | |
|
||||
| LINE | ✅ | |
|
||||
| KOOK | ✅ | |
|
||||
| WhatsApp | 🚧 | |
|
||||
|
||||
🚧: In development
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
# 接入 KOOK 机器人
|
||||
|
||||
## 创建机器人
|
||||
|
||||
前往 [KOOK 开发者中心](https://developer.kookapp.cn/),登录后进入控制台。
|
||||
|
||||

|
||||
|
||||
点击「新建应用」,填写应用信息。
|
||||
|
||||

|
||||
|
||||
应用创建完成后,进入应用详情页。
|
||||
|
||||

|
||||
|
||||
在应用概览页面可以查看应用的基本信息。
|
||||
|
||||

|
||||
|
||||
## 获取 Bot Token
|
||||
|
||||
在应用页面中,点击「机器人」标签,复制 Bot Token 并妥善保存,后续需要使用。
|
||||
|
||||

|
||||
|
||||
## 配置机器人权限
|
||||
|
||||
**重要:** 在「机器人」设置中,找到「消息过滤」选项,点击配置。
|
||||
|
||||

|
||||
|
||||
开启所有消息相关事件权限,包括频道消息和私聊消息事件,否则机器人将无法接收消息。
|
||||
|
||||

|
||||
|
||||
## 邀请机器人
|
||||
|
||||
在机器人设置页面,可以生成邀请链接,将机器人邀请到你的服务器。
|
||||
|
||||

|
||||
|
||||
## 对接 LangBot
|
||||
|
||||
打开 LangBot Webui 页面,在「机器人」页面点击创建新机器人。
|
||||
|
||||

|
||||
|
||||
选择 KOOK 平台,填写机器人名称和 Bot Token。
|
||||
|
||||

|
||||
|
||||
保存后,机器人将出现在列表中。
|
||||
|
||||

|
||||
|
||||
点击启用按钮,启动机器人。若成功配置,机器人状态将显示为运行中。
|
||||
|
||||

|
||||
|
||||
## 使用机器人
|
||||
|
||||
现在在 KOOK 服务器中,机器人就可以正常接收和回复消息了。机器人支持频道消息和私聊消息。
|
||||
@@ -19,3 +19,4 @@
|
||||
| Telegram | ✅ | | [教程](/zh/deploy/platforms/telegram) |
|
||||
| Slack | ✅ | | [教程](/zh/deploy/platforms/slack) |
|
||||
| LINE | ✅ | | [教程](/zh/deploy/platforms/line) |
|
||||
| KOOK | ✅ | | [教程](/zh/deploy/platforms/kook) |
|
||||
|
||||
@@ -18,6 +18,7 @@ LangBot 是一个开源的大语言模型原生即时通信机器人开发平台
|
||||
| Telegram | ✅ | 支持流式输出 |
|
||||
| Slack | ✅ | |
|
||||
| LINE | ✅ | |
|
||||
| KOOK | ✅ | |
|
||||
| WhatsApp | 🚧 | |
|
||||
|
||||
🚧: 正在开发中
|
||||
|
||||