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