import {CalendarEvent} from "../calendarClient"; import EventAttendeeMail from "./EventAttendeeMail"; import {getFormattedMeetingId, getIntegrationName} from "./helpers"; import {VideoCallData} from "../videoClient"; export default class VideoEventAttendeeMail extends EventAttendeeMail { videoCallData: VideoCallData; constructor(calEvent: CalendarEvent, uid: string, videoCallData: VideoCallData) { super(calEvent, uid); this.videoCallData = videoCallData; } /** * Adds the video call information to the mail body. * * @protected */ protected getAdditionalBody(): string { return ` Video call provider: ${getIntegrationName(this.videoCallData)}
Meeting ID: ${getFormattedMeetingId(this.videoCallData)}
Meeting Password: ${this.videoCallData.password}
Meeting URL: ${this.videoCallData.url}
`; } }