getPrompts

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).

Syntax

getPrompts()

Returns

(list) A list of LuaUserPrompt objects.

Example

local prompt1 = taskUtils:getPrompts()[1]

_HP_HTML5_bannerTitle.htm