Skip to main content

@wildix/wda-insights-client > GetConferenceStateCommand

GetConferenceStateCommand class

Gets the summary for a conference by conferenceId.

Signature:

export declare class GetConferenceStateCommand extends GetConferenceStateCommand_base 

Extends: GetConferenceStateCommand_base

Example

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

import { WdaInsightsClient, GetConferenceStateCommand } from "@wildix/wda-insights-client"; // ES Modules import
// const { WdaInsightsClient, GetConferenceStateCommand } = require("@wildix/wda-insights-client"); // CommonJS import
const client = new WdaInsightsClient(config);
const input = { // GetConferenceStateInput
company: "STRING_VALUE",
conferenceId: "STRING_VALUE", // required
user: "STRING_VALUE",
};
const command = new GetConferenceStateCommand(input);
const response = await client.send(command);
// { // GetConferenceStateOutput
// state: { // ConversationState
// playlists: [ // PlaylistsIdsList
// "STRING_VALUE",
// ],
// playback: { // ConversationPlaybackState
// position: Number("long"),
// duration: Number("long"),
// },
// firstWatchedAt: "STRING_VALUE",
// lastWatchedAt: "STRING_VALUE",
// },
// };