Spaces:
Paused
Paused
File size: 1,305 Bytes
d33b446 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
## 钉钉机器人开发
### 操作流程
#### 创建机器人
参考文档:
```text
https://open.dingtalk.com/document/orgapp/create-an-application
```
我创建的机器人是像一个用户一样的,你可以发信息给它,然后它会回复你。
步骤大致如下:
首先访问 [钉钉开放平台](https://open-dev.dingtalk.com/),并登录。
点击上方菜单栏的 [应用开发](https://open-dev.dingtalk.com/fe/app#/corp/app),

然后在钉钉应用中点击创建应用,输入 `应用名称`,`应用描述`,`应用图标` 后保存。


点击进入创建的应用。

在 `添加应用能力` 中 找到 `其它应用能力`中点击添加 `机器人`。
对机器人配置完成后点发布。
在凭证与基础信息中获取 Client ID, Client Secret

#### 创建服务后台
参考文档:
```text
https://open.dingtalk.com/document/orgapp/robot-receive-message
https://github.com/open-dingtalk/dingtalk-tutorial-python
```
### 使用效果
聊天示例:

|