Skip to main content

@wildix/wda-stream-client > GetOngoingConferenceCommand

GetOngoingConferenceCommand class

Retrieves information for ongoing conference.

Signature:

export declare class GetOngoingConferenceCommand extends GetOngoingConferenceCommand_base

Extends: GetOngoingConferenceCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { WdaStreamClient, GetOngoingConferenceCommand } from "@wildix/wda-stream-client"; // ES Modules import
// const { WdaStreamClient, GetOngoingConferenceCommand } = require("@wildix/wda-stream-client"); // CommonJS import
const client = new WdaStreamClient(config);
const input = { // GetOngoingConferenceInput
company: "STRING_VALUE",
conferenceId: "STRING_VALUE", // required
};
const command = new GetOngoingConferenceCommand(input);
const response = await client.send(command);
// { // GetOngoingConferenceOutput
// conference: { // ConferenceAnalyticsLiveProgressEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave" || "service" || "service_complete" || "service_agent" || "service_call" || "service_call_complete", // required
// start: "STRING_VALUE", // required
// subject: "STRING_VALUE", // required
// participants: [ // ConferenceParticipantsList // required
// { // ConferenceParticipant
// type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
// role: "CLIENT" || "AGENT",
// jid: "STRING_VALUE",
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// department: "STRING_VALUE",
// company: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxGroupId: "STRING_VALUE",
// xbsId: "STRING_VALUE",
// license: "basic" || "essential" || "business" || "premium" || "wizyconf",
// },
// ],
// transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE",
// transcriptionLanguage: "STRING_VALUE",
// participantsGroupIds: [ // ConversationParticipantsGroupList
// "STRING_VALUE",
// ],
// },
// };