Skip to main content

@wildix/wda-stream-client > GetConferenceIdCommand

GetConferenceIdCommand class

Retrieves ID for ongoing conference using a room token.

Signature:

export declare class GetConferenceIdCommand extends GetConferenceIdCommand_base 

Extends: GetConferenceIdCommand_base

Example

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

import { WdaStreamClient, GetConferenceIdCommand } from "@wildix/wda-stream-client"; // ES Modules import
// const { WdaStreamClient, GetConferenceIdCommand } = require("@wildix/wda-stream-client"); // CommonJS import
const client = new WdaStreamClient(config);
const input = { // GetConferenceIdInput
company: "STRING_VALUE",
channelId: "STRING_VALUE", // required
};
const command = new GetConferenceIdCommand(input);
const response = await client.send(command);
// { // GetConferenceIdOutput
// id: "STRING_VALUE", // required
// };