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