@wildix/xbees-users-client > ListBotsCommand
ListBotsCommand class
Signature:
export declare class ListBotsCommand extends ListBotsCommand_base
Extends: ListBotsCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { UsersClient, ListBotsCommand } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, ListBotsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // ListBotsInput
company: "STRING_VALUE",
};
const command = new ListBotsCommand(input);
const response = await client.send(command);
// { // ListBotsOutput
// bots: [ // BotList // required
// { // Bot
// id: "STRING_VALUE", // required
// name: "STRING_VALUE", // required
// picture: "STRING_VALUE",
// searchable: true || false,
// createdAt: "STRING_VALUE", // required
// updated: "STRING_VALUE",
// },
// ],
// };