@wildix/xbees-users-client > CreateSystemBotCommand
CreateSystemBotCommand class
Signature:
export declare class CreateSystemBotCommand extends CreateSystemBotCommand_base
Extends: CreateSystemBotCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { UsersClient, CreateSystemBotCommand } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, CreateSystemBotCommand } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // CreateSystemBotInput
company: "STRING_VALUE",
name: "STRING_VALUE", // required
picture: "STRING_VALUE",
};
const command = new CreateSystemBotCommand(input);
const response = await client.send(command);
// { // CreateSystemBotOutput
// id: "STRING_VALUE", // required
// };