Skip to main content

@wildix/xbees-users-client > VerifyBotSecretKeyV1Command

VerifyBotSecretKeyV1Command class

Signature:

export declare class VerifyBotSecretKeyV1Command extends VerifyBotSecretKeyV1Command_base 

Extends: VerifyBotSecretKeyV1Command_base

Example

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

import { UsersClient, VerifyBotSecretKeyV1Command } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, VerifyBotSecretKeyV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // VerifyBotSecretKeyV1Input
secret: "STRING_VALUE", // required
};
const command = new VerifyBotSecretKeyV1Command(input);
const response = await client.send(command);
// { // VerifyBotSecretKeyV1Output
// company: "STRING_VALUE", // required
// id: "STRING_VALUE", // required
// name: "STRING_VALUE",
// };