telegraph
Integrate real-time notifications with our open-source, scalable, drop-in
Notification as a Service.
Integrate real-time notifications with our open-source, scalable, drop-in
Notification as a Service.
import Telegraph from "@telegraph-notify/backend-sdk";
// Enter secret key and HTTP Gateway URL
const telegraph = new Telegraph(secretKey, httpGateway);
// Send a Notification
telegraph.send({
user_id,
channels: {
in_app?: {
message
},
email?: {
subject,
message,
},
slack?: {
message,
},
},
});