tr11p-commons
Version:
21 lines (20 loc) • 540 B
TypeScript
import { Topics } from './topics';
import { Event } from './events';
export interface PushNotificationEvent extends Event {
topic: Topics.SendPushNotification;
data: {
title: string;
body: string;
bottomImage?: string;
sideImage?: string;
linkText?: string;
isRevoked?: boolean;
broadcastType?: string;
regionId?: string;
zoneId?: string;
icon?: string;
linkUrl?: string;
isScheduled?: string;
targetAudience?: string;
};
}