1 Star 1 Fork 0

MapMaths / Dingtalk-Robot-Node

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 901 Bytes
一键复制 编辑 原始数据 按行查看 历史
MapMaths 提交于 2021-12-04 14:02 . Updated package.json

Dingtalk-Robot-Node

A demo for Dingtalk Robot by Node.js to send messages to the chat group.

Prerequisite

This program requires Node.js and request module.

npm i

Note: request module has been deprecated and I am going to turn the depenency to got module.

Usage

After installing the dependency, you can use the program as following:

  1. Select the way of sending messages via a Dingtalk Robot. There are four ways (by now):
    • text: send a text message.
    • markdown: send a markdown message.
    • link: send a link message. (For more, see the Dingtalk Robot API). Just open the folder with the name that is the same as the way and open server.js.
  2. Modify the definition of the variables.
  3. Run the program using node server.js.
NodeJS
1
https://gitee.com/mapmaths/Dingtalk-Robot-Node.git
git@gitee.com:mapmaths/Dingtalk-Robot-Node.git
mapmaths
Dingtalk-Robot-Node
Dingtalk-Robot-Node
master

搜索帮助