@wildix/xbees-users-client > GetAppVersionCommand
GetAppVersionCommand class
Returns the current Google Play Store version of the Android app for the specified appType (X-Bees, X-Hoppers, Collaboration).
Signature:
export declare class GetAppVersionCommand extends GetAppVersionCommand_base
Extends: GetAppVersionCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { UsersClient, GetAppVersionCommand } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, GetAppVersionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // GetAppVersionInput
appType: "x-bees" || "x-hoppers" || "collaboration", // required
};
const command = new GetAppVersionCommand(input);
const response = await client.send(command);
// { // GetAppVersionOutput
// version: "STRING_VALUE", // required
// };