Syntax
output: TSayFunction
Alias: say
Description
Sends a message to the user. Parameters:TSayFunction has the following parameters:
- text — the message to send. Can be an empty string
""ornullif you’re only sending structured content. - data — a structured content payload containing rich UI elements like buttons, carousels, quick replies, and images. This parameter is optional.
- settings — a configuration object related to a handover to a human agent, such as whether the message can be forwarded and the output destination (user, human agent, or both). This parameter is optional.
TSayFunction implementation.
Example
TSayFunction and its examples, refer to the say function documentation.