1.0.1 • Published 4 years ago

semo-plugin-dingtalk v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

semo-plugin-dingtalk

A Semo plugin to provide ability to send message to DingTalk

Installation

npm i -g @semo/cli semo-plugin-dingtalk
semo dingtalk help

Usage

Support 5 types of DingTalk messages: Text, Markdown, Link, FeedCard, ActionCard, and each type has options.

semo dingtalk text help
semo dingtalk markdown help
semo dingtalk link help
semo dingtalk feed-card help
semo dingtalk action-card help

Programmability

import { getToken, getSecret, DingBot } from 'semo-plugin-dingtalk'

or

const { dingbot } = await Utils.invokeHook('component')

The second way, the object has been initialized.

License

MIT