Skip to content

robot-dd: 钉钉群自定义机器人消息接口全封装

Notifications You must be signed in to change notification settings

linshangchun/robot-dd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

robot-dd: 钉钉群自定义机器人消息接口全封装

Features

  • 作用全接口,统一入参
  • 引用单一,使用方便

Use

npm install robot-dd
const Robot_DD = require("robot-dd");
const robotDD = new Robot_DD({
    access_token: xxxxxx,
    secret: xxxxxx
});
const res = await robotDD.sendText({
    text: `time: ${Date.now()}\n 测试钉钉机器人消息发送`,
});
if(res.errcode === 0){
    // todo: Success
}else{
    //todo: Error
}

Learn more

robot-dd 使用示例文档 钉钉群自定义机器人官方文档

About

robot-dd: 钉钉群自定义机器人消息接口全封装

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages