@wildix/xbees-users-client > GetBotCommand
GetBotCommand class
Signature:
export declare class GetBotCommand extends GetBotCommand_base 
Extends: GetBotCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { UsersClient, GetBotCommand } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, GetBotCommand } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // GetBotInput
  company: "STRING_VALUE",
  botId: "STRING_VALUE", // required
};
const command = new GetBotCommand(input);
const response = await client.send(command);
// { // GetBotOutput
//   bot: { // Bot
//     name: "STRING_VALUE", // required
//     picture: "STRING_VALUE",
//     searchable: true || false,
//     access: "EVERYBODY" || "ORGANIZATION",
//     id: "STRING_VALUE", // required
//     integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
//     integrationApiKeysCount: Number("int"), // required
//     createdAt: "STRING_VALUE", // required
//     updated: "STRING_VALUE",
//   },
// };