Valens-AIO/types/helpers/NotificationSendHelper.d.ts

13 lines
598 B
TypeScript
Raw Permalink Normal View History

2022-07-30 00:35:54 -04:00
import { INotification } from "../models/eft/notifier/INotifier";
2022-12-25 18:45:37 -05:00
import { WebSocketServer } from "../servers/WebSocketServer";
2022-07-30 00:35:54 -04:00
import { NotificationService } from "../services/NotificationService";
export declare class NotificationSendHelper {
2022-12-25 18:45:37 -05:00
protected webSocketServer: WebSocketServer;
2022-07-30 00:35:54 -04:00
protected notificationService: NotificationService;
2022-12-25 18:45:37 -05:00
constructor(webSocketServer: WebSocketServer, notificationService: NotificationService);
2022-07-30 00:35:54 -04:00
/**
2023-02-12 23:21:14 -05:00
* Send notification message to the appropriate channel
2022-07-30 00:35:54 -04:00
*/
sendMessage(sessionID: string, notificationMessage: INotification): void;
}