@znode/nobot-wecom
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

@zodash/nobot-wecom

企业微信通知机器人

Usage

import sendMessage from '@zodash/nobot-wecom';

sendMessage(webhookUrl, {
  msgtype: 'text',
  content: {
    text: '广州今日天气:29度,大部分多云,降雨概率:60%',
    mentioned_list: ['zero', '@all'],
  },
});

// more example see __tests__/sendMessage

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @znode/nobot-wecom

    Weekly Downloads

    2

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    6.37 kB

    Total Files

    8

    Last publish

    Collaborators

    • uniquecolesmith