1.2.0 • Published 2 years ago

@zerojsus/dingdingrobot v1.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

dingdingrobot project

nodejs 链接钉钉机器人发送文本的插件 支持typescript

目前仅支持群聊的消息发送

import DMessage, {
  MsgType
} from 'dingdingrobot';

// 配置群聊的钉钉机器人消息
const dMessage = new DMessage({
  secret: '', // 钉钉机器人密钥
  accessToken: '', // 钉钉机器人accessToken
});

dMessage.send({
  [MsgType.XXX]: 'xxx',
  msgtype: MsgType.XXX
});

支持的群聊消息类型

基础消息

  • text
  • link
  • markdown
  • actionCard
  • feedCard

参考文档

钉钉开放平台-钉钉机器人

1.2.0

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago