Skip to content

semojs/semo-plugin-dingtalk

Repository files navigation

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

About

A Semo plugin to provide ability to send message to DingTalk

Resources

Stars

Watchers

Forks

Packages

No packages published