Skip to main content

@wildix/xbees-conversations-client > ScheduleExternalFlagAdjustmentJobCommand

ScheduleExternalFlagAdjustmentJobCommand class

Schedules a job to fix the "external" flag for channels in which the user participates.

Signature:

export declare class ScheduleExternalFlagAdjustmentJobCommand extends ScheduleExternalFlagAdjustmentJobCommand_base 

Extends: ScheduleExternalFlagAdjustmentJobCommand_base

Example

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

import { ConversationsClient, ScheduleExternalFlagAdjustmentJobCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
// const { ConversationsClient, ScheduleExternalFlagAdjustmentJobCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
const client = new ConversationsClient(config);
const input = { // ScheduleExternalFlagAdjustmentJobInput
userId: "STRING_VALUE", // required
};
const command = new ScheduleExternalFlagAdjustmentJobCommand(input);
const response = await client.send(command);
// {};