New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

dingding-bot-tools

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dingding-bot-tools

nodejs调用钉钉机器人插件

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

参考文档

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

Keywords

dingdingrobot

FAQs

Package last updated on 07 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts