xerexjs
Version:
A simple notification system for NextJS/ReactJS with real-time capabilities
14 lines (13 loc) • 370 B
TypeScript
export declare class Xerex {
private apiKey;
private apiUrl;
constructor(apiKey: string);
addMembers(userIds: string[]): Promise<{
success: boolean;
message: any;
}>;
sendNotification(userIds: string[], content: string, buttonText?: string, buttonUrl?: string): Promise<{
success: boolean;
message: any;
}>;
}