Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/remote-connect/feishu-bot-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ Open the Feishu Developer Platform and log in

Create custom app

![Create custom app](./images/English/1.png)

### Step3

Add Features - Bot - Add

![Add bot](./images/English/2.png)

### Step4

Permissions & Scopes -
Expand All @@ -28,14 +32,21 @@ Add permission scopes to app -

Search "im:" - Approval required "No" - Select all - Add Scopes

![Add permission scopes to app](./images/English/3.png)

### Step5

Credentials & Basic Info - Copy App ID and App Secret

![Credentials & Basic Info](./images/English/4.png)

### Step6

Open BitFun - Remote Connect - SMS Bot - Feishu Bot - Fill in App ID and App Secret - Connect

![Connect 1](./images/English/5.png)
![Connect 2](./images/English/6.png)

### Step7

Back to Feishu Developer Platform
Expand All @@ -48,6 +59,9 @@ Subscription mode - persistent connection - Save

Add Events - Search "im.message" - Select all - Confirm

![Event configuration 1](./images/English/7.png)
![Event configuration 2](./images/English/8.png)

### Step9

Events & callbacks - Callback configuration -
Expand All @@ -56,10 +70,18 @@ Subscription mode - persistent connection - Save

Add callback - Search "card.action.trigger" - Select all - Confirm

![Callback configuration 1](./images/English/9.png)
![Callback configuration 2](./images/English/10.png)

### Step10

Publish the bot

![Publish the bot 1](./images/English/11.png)
![Publish the bot 2](./images/English/12.png)
![Publish the bot 3](./images/English/13.png)
![Publish the bot 4](./images/English/14.png)

### Step11

Open Feishu - Search "{robot name}" -
Expand All @@ -69,3 +91,5 @@ Click the robot to open the chat box - Input any message and send
### Step12

Enter the 6-digit pairing code from BitFun Desktop - Send - Connection successful

![Verification](./images/English/15.png)
24 changes: 24 additions & 0 deletions docs/remote-connect/feishu-bot-setup.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,33 @@

创建企业自建应用

![创建企业自建应用](./images/zh-CN//1.png)

### 第三步

添加应用能力 - 机器人 - 添加

![添加机器人](./images/zh-CN//2.png)

### 第四步

权限管理 - 开通权限 - 搜索"im:" - 是否需要审核选择"免审权限" - 全选 - 确认开通权限

![开通权限](./images/zh-CN//3.png)

### 第五步

凭证与基础信息 - 复制 App ID 和 App Secret

![凭证与基础信息](./images/zh-CN//4.png)

### 第六步

打开 BitFun - 远程连接 - SMS 机器人 - Feishu 机器人 - 填写 App ID 和 App Secret - 连接

![连接1](./images/zh-CN//5.png)
![连接2](./images/zh-CN//6.png)

### 第七步

回到飞书开发者平台机器人设置页
Expand All @@ -42,20 +53,33 @@

添加事件 - 搜索"im.message" - 全选 - 确认添加

![事件配置1](./images/zh-CN//7.png)
![事件配置2](./images/zh-CN//8.png)

### 第九步

事件与回调 - 回调配置 - 订阅方式 - 使用 长连接 接收事件 - 保存

添加回调 - 搜索"card.action.trigger" - 选中 - 确认添加

![回调配置1](./images/zh-CN//9.png)
![回调配置2](./images/zh-CN//10.png)

### 第十步

发布机器人

![发布机器人1](./images/zh-CN//11.png)
![发布机器人2](./images/zh-CN//12.png)
![发布机器人3](./images/zh-CN//13.png)
![发布机器人4](./images/zh-CN//14.png)

### 第十一步

打开飞书应用 - 搜索"{机器人名称}" - 点击机器人打开对话框 - 输入任意消息并发送

### 第十二步

被机器人要求输入6位验证码 - 输入 - 发送 - 连接成功

![验证](./images/zh-CN//15.png)
Binary file added docs/remote-connect/images/English/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/English/9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/remote-connect/images/zh-CN/5.png
Binary file added docs/remote-connect/images/zh-CN/6.png
Binary file added docs/remote-connect/images/zh-CN/7.png
Binary file added docs/remote-connect/images/zh-CN/8.png
Binary file added docs/remote-connect/images/zh-CN/9.png