@wildix/xbees-conversations-client > GetActionTriggerResultCommand
GetActionTriggerResultCommand class
Get result of the triggered action.
Signature:
export declare class GetActionTriggerResultCommand extends GetActionTriggerResultCommand_base
Extends: GetActionTriggerResultCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { ConversationsClient, GetActionTriggerResultCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
// const { ConversationsClient, GetActionTriggerResultCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
const client = new ConversationsClient(config);
const input = { // GetActionTriggerResultInput
triggerId: "STRING_VALUE", // required
userId: "STRING_VALUE",
};
const command = new GetActionTriggerResultCommand(input);
const response = await client.send(command);
// { // GetActionTriggerResultOutput
// status: "completed" || "pending", // required
// result: {},
// };