doc: add wexin adapter docs

This commit is contained in:
fdc310
2026-03-25 23:36:28 +08:00
parent 4f4fc5e5fa
commit 412452dbef
11 changed files with 188 additions and 1 deletions
+14 -1
View File
@@ -162,6 +162,12 @@
"en/usage/platforms/wecom/wecomcs",
"en/usage/platforms/wecom/wecombot"
]
},
{
"group": "WeChat",
"pages": [
"en/usage/platforms/wechat/weixin"
]
}
]
},
@@ -353,7 +359,8 @@
{
"group": "微信",
"pages": [
"zh/usage/platforms/wechat/wechatpad"
"zh/usage/platforms/wechat/wechatpad",
"zh/usage/platforms/wechat/weixin"
]
}
]
@@ -564,6 +571,12 @@
"ja/usage/platforms/wecom/wecomcs",
"ja/usage/platforms/wecom/wecombot"
]
},
{
"group": "WeChat",
"pages": [
"ja/usage/platforms/wechat/weixin"
]
}
]
},
+58
View File
@@ -0,0 +1,58 @@
---
title: "Connect Personal WeChat via OpenClaw"
---
## Introduction
[OpenClaw](https://github.com/dingxiang-me/OpenClaw-Wechat) is an open-source AI Agent framework. Through the OpenClaw WeChat adapter, you can connect LangBot to your personal WeChat account, with support for group chats, streaming output, whitelist control, and more.
## Prerequisites
- LangBot is deployed and running
<Warning>
Please make sure your mobile WeChat version is the latest **8.0.69** or above, otherwise the OpenClaw WeChat adapter may not work properly. You can check your version in WeChat under "Me" -> "Settings" -> "About WeChat".
</Warning>
## Configure in LangBot
### 1. Create Adapter
Launch the LangBot main program, create a new bot, fill in the bot name, select `OpenClaw 微信` as the platform/adapter, and click Submit.
![Create WeChat Adapter](/images/zh/deploy/bots/wexin/wexin_01.png)
### 2. Enable Adapter
Enable the adapter and save the configuration.
![Enable Adapter](/images/zh/deploy/bots/wexin/wexin_02.png)
### 3. Scan QR Code to Log In
Open the logs and check the log entry with an image icon to get the login QR code.
![Open Logs to View QR Code](/images/zh/deploy/bots/wexin/wexin_03.png)
Use your mobile WeChat to scan the QR code to complete the login.
<Warning>
Before scanning, please confirm again that your WeChat version is the latest **8.0.69** or above, otherwise the scan may fail.
</Warning>
![Scan QR Code](/images/zh/deploy/bots/wexin/wexin_04.jpg)
### 4. Confirm Successful Login
After scanning successfully, your phone will enter the ClawBot chat page on WeChat.
![WeChat ClawBot Chat Page](/images/zh/deploy/bots/wexin/wexin_05.jpg)
At the same time, the LangBot logs will show a successful connection message, and the token and account fields on the configuration page will be automatically updated, indicating a successful login.
![Log Information](/images/zh/deploy/bots/wexin/wexin_06.png)
![Configuration Page](/images/zh/deploy/bots/wexin/wexin_07.png)
## Start Using
Once logged in, other WeChat users can send messages to your WeChat account to trigger LangBot's automatic replies.
Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

+58
View File
@@ -0,0 +1,58 @@
---
title: "OpenClaw で個人 WeChat に接続する"
---
## はじめに
[OpenClaw](https://github.com/dingxiang-me/OpenClaw-Wechat) はオープンソースの AI Agent フレームワークです。OpenClaw WeChat アダプターを使用することで、LangBot を個人の WeChat アカウントに接続でき、グループチャット、ストリーミング出力、ホワイトリスト制御などの機能をサポートしています。
## 前提条件
- LangBot がデプロイされ、実行中であること
<Warning>
スマートフォンの WeChat バージョンが最新の **8.0.69** 以上であることを確認してください。それ以外の場合、OpenClaw WeChat アダプターが正常に動作しない可能性があります。WeChat の「自分」->「設定」->「WeChat について」からバージョンを確認できます。
</Warning>
## LangBot での設定
### 1. アダプターの作成
LangBot メインプログラムを起動し、新しいボットを作成します。ボット名を入力し、プラットフォーム/アダプターで `OpenClaw 微信` を選択して、送信をクリックします。
![WeChat アダプターの作成](/images/zh/deploy/bots/wexin/wexin_01.png)
### 2. アダプターの有効化
アダプターを有効にして、設定を保存します。
![アダプターの有効化](/images/zh/deploy/bots/wexin/wexin_02.png)
### 3. QR コードをスキャンしてログイン
ログを開き、画像アイコンが付いたログエントリを確認して、ログイン用の QR コードを取得します。
![ログを開いて QR コードを確認](/images/zh/deploy/bots/wexin/wexin_03.png)
スマートフォンの WeChat で QR コードをスキャンしてログインを完了します。
<Warning>
スキャン前に、WeChat のバージョンが **8.0.69** 以上であることを再度確認してください。バージョンが古い場合、スキャンに失敗する可能性があります。
</Warning>
![QR コードスキャン](/images/zh/deploy/bots/wexin/wexin_04.jpg)
### 4. ログイン成功の確認
スキャンが成功すると、スマートフォンに ClawBot のチャット画面が表示されます。
![WeChat ClawBot チャット画面](/images/zh/deploy/bots/wexin/wexin_05.jpg)
同時に、LangBot のログに接続成功のメッセージが表示され、設定ページのトークンとアカウントが自動的に更新されます。これでログイン成功です。
![ログ情報](/images/zh/deploy/bots/wexin/wexin_06.png)
![設定ページ](/images/zh/deploy/bots/wexin/wexin_07.png)
## 使い方
ログイン成功後、他の WeChat ユーザーがあなたの WeChat アカウントにメッセージを送信すると、LangBot が自動的に返信します。
+58
View File
@@ -0,0 +1,58 @@
---
title: "通过 OpenClaw 接入个人微信"
---
## 简介
[OpenClaw](https://github.com/dingxiang-me/OpenClaw-Wechat) 是一个开源 AI Agent 框架,通过 OpenClaw 微信适配器可以将 LangBot 接入个人微信,支持群聊、流式输出、白名单控制等功能。
## 前置准备
- 已部署并运行 LangBot
<Warning>
请确认您的手机微信版本为 最新的**8.0.69** 或以上,否则可能无法正常使用 OpenClaw 微信适配器。您可以在微信的「我」->「设置」->「关于微信」中查看当前版本号。
</Warning>
## 在 LangBot 中配置
### 1. 新建适配器
启动 LangBot 主程序,新建机器人,填写机器人名称,平台/适配器选择 `OpenClaw 微信`,点击提交即可。
![新建微信适配器](/images/zh/deploy/bots/wexin/wexin_01.png)
### 2. 启用适配器
启用适配器并保存配置。
![启用适配器](/images/zh/deploy/bots/wexin/wexin_02.png)
### 3. 扫码登录
打开日志,查看带有图片标志的日志详情,获取登录二维码。
![打开日志查看二维码](/images/zh/deploy/bots/wexin/wexin_03.png)
使用手机微信扫描二维码完成登录。
<Warning>
扫码前请再次确认微信版本为 **8.0.69** 或以上,否则可能导致扫码失败。
</Warning>
![扫码链接](/images/zh/deploy/bots/wexin/wexin_04.jpg)
### 4. 确认登录成功
扫码成功后,手机端会进入与 ClawBot 的聊天页面。
![微信 ClawBot 聊天页面](/images/zh/deploy/bots/wexin/wexin_05.jpg)
同时,LangBot 日志中会出现连接成功的信息,配置页面中的令牌和账号也会自动更新,表示登录成功。
![日志信息](/images/zh/deploy/bots/wexin/wexin_06.png)
![配置页](/images/zh/deploy/bots/wexin/wexin_07.png)
## 开始使用
登录成功后,其他微信用户向您的微信账号发送消息即可触发 LangBot 自动回复。