mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 12:25:29 +08:00
@@ -29,6 +29,7 @@
|
||||
|
||||
点击`凭证与基础信息`,记录`Client ID` 和 `Client Secret`,
|
||||
点击`应用能力`,`机器人`,记录下 RobotCode 和 机器人名称。
|
||||
`markdown_card` 为是否启用 Markdown 形式的回复。
|
||||
将以上配置项填写入[钉钉机器人配置项](/deploy/quick-config/config.md#钉钉适配器)。<br>
|
||||
**启动 LangBot** 。
|
||||
|
||||
|
||||
@@ -15,13 +15,14 @@
|
||||
## 在 LangBot 中填写信息并启动
|
||||
|
||||
根据[填写配置信息](/deploy/quick-config/config)中的 Telegram 适配器配置,填写相关信息。
|
||||
将上一步获取的 API Token 填写到配置中。
|
||||
将上一步获取的 API Token 填写到配置中,`markdown_card` 选项为是否启用 Markdown 形式的回复。
|
||||
|
||||
```json
|
||||
{
|
||||
"adapter": "telegram",
|
||||
"enable": true,
|
||||
"token": "xxxxxxx"
|
||||
"token": "xxxxxxx",
|
||||
"markdown_card":false
|
||||
},
|
||||
```
|
||||
|
||||
|
||||
@@ -230,7 +230,8 @@
|
||||
"client_id":"",
|
||||
"client_secret":"",
|
||||
"robot_code":"",
|
||||
"robot_name":""
|
||||
"robot_name":"",
|
||||
"markdown_card":false
|
||||
},
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user