Assuming that conversation is a reference to the Bots Node SDK, which two sets of code statements to access the custom component’s orderid and userAccount input parameters are valid?
Select all that apply, then click Submit answer.
-
○
const order = conversation.properties().orderid;
const account = conversation.properties().userAccount; -
○
const order = conversation.request().variables[•orderid'];
const account = conversation.request().variables[’accountName 1); -
○
const order = conversation.variable(1 orderid');
const account = conversation.variable('accountName1); -
○
const { orderid } = conversation.properties();
const { accountName > = conversation.properties(); -
○
const { orderid } = conversation.variable();
const { accountName } = conversation.variable();