Skip to main content

@wildix/xbees-users-client > UploadPictureV1Command

UploadPictureV1Command class

Signature:

export declare class UploadPictureV1Command extends UploadPictureV1Command_base 

Extends: UploadPictureV1Command_base

Example

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

import { UsersClient, UploadPictureV1Command } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, UploadPictureV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // UploadPictureV1Input
picture: "STRING_VALUE", // required
};
const command = new UploadPictureV1Command(input);
const response = await client.send(command);
// { // UploadPictureV1Output
// url: "STRING_VALUE", // required
// };