MCPcopy Create free account
hub / github.com/Xu22Web/tech-study-js / pushMessage

Function pushMessage

tech-study.js:2235–2241  ·  view source on GitHub ↗

* @description 推送消息

(options)

Source from the content-addressed store, hash-verified

2233 * @description 推送消息
2234 */
2235async function pushMessage(options) {
2236 // 选项
2237 const { title, content, template, fromToken, toToken } = options;
2238 // 推送
2239 const res = await pushPlus(fromToken, title, content, template, toToken);
2240 return res;
2241}
2242/**
2243 * @description 推送模态框
2244 */

Callers 1

pushModalFunction · 0.70

Calls 1

pushPlusFunction · 0.70

Tested by

no test coverage detected