@wildix/wim-voicebots-client > ListVoiceBotsNamesCommand
ListVoiceBotsNamesCommand class
Signature:
export declare class ListVoiceBotsNamesCommand extends ListVoiceBotsNamesCommand_base
Extends: ListVoiceBotsNamesCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { VoiceBotsClient, ListVoiceBotsNamesCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
// const { VoiceBotsClient, ListVoiceBotsNamesCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
const client = new VoiceBotsClient(config);
const input = { // ListVoiceBotsNamesInput
company: "STRING_VALUE",
};
const command = new ListVoiceBotsNamesCommand(input);
const response = await client.send(command);
// { // ListVoiceBotsNamesOutput
// bots: [ // VoiceBotsInfoList // required
// { // VoiceBotInfo
// id: "STRING_VALUE", // required
// name: "STRING_VALUE", // required
// },
// ],
// };