1.0.3 • Published 3 years ago
@lexmin0412/notifier v1.0.3
Notifier
a webhook notifier.
Install
pnpm install @lexmin0412/notifier
Usage
sendQYWXRobotNotification
sendQYWXRobotNotification({
key: 'xxxxxxxx-xxxx-xxx-xxxx-xxxxxxxx',
data: {
msgtype: 'text',
text: {
content: 'sendQYWXRobotNotification success'
}
}
})
sendNotificationByType
sendNotificationByType('QYWX_ROBOT', {
key: 'xxxxxxxx-xxxx-xxx-xxxx-xxxxxxxx',
data: {
msgtype: 'text',
text: {
content: 'sendNotificationByType success'
}
}
})