import { ContactEvent } from "./ContactEvent"; export abstract class ContactChannelEvent extends ContactEvent { public readonly channelId:string; public readonly platform:string; public readonly channelUserId:string; constructor({ eventName, eventVersion, tenantId, contactId, channelId, platform, channelUserId }: { eventName:string; eventVersion:number; tenantId:string; contactId:string; channelId:string; platform:string; channelUserId:string; }) { super({ eventName, eventVersion, tenantId, contactId }); this.channelId = channelId; this.platform = platform; this.channelUserId = channelUserId } }