src/providers/notification/notification.provider.ts
Properties |
| body |
body:
|
Type : string
|
| from |
from:
|
Type : string
|
| Optional |
| subject |
subject:
|
Type : string
|
| to |
to:
|
Type : string | string[]
|
export interface DeliverParams {
to: string | string[];
from?: string;
subject: string;
body: string;
}
export abstract class NotificationProvider {
abstract deliver(params: DeliverParams);
}