Appearance
使用文档
欢迎使用 TimelyNotify(及时通知)。本页面是使用文档首页,从这里可以跳转到各个章节。
章节导航
快速上手
- 获取 API Key
- 调用发送接口,传入渠道、接收人与模板参数
- 通过消息 ID 查询送达状态
js
import TimelyNotify from "timelynotify";
const client = new TimelyNotify({
apiKey: "your-api-key",
});
await client.send({
channel: "email",
to: "user@example.com",
template: "welcome",
params: { name: "张三" },
});更多细节见 API 文档。