The getPrompts method gets the current table of prompts that the conversation task will return after the Lua function completes. A prompt is defined by a LuaUserPrompt object (see LuaUserPrompt Methods).
getPrompts()
(list) A list of LuaUserPrompt objects.
local prompt1 = taskUtils:getPrompts()[1]
|
|