Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (8 loc) · 1.6 KB

File metadata and controls

14 lines (8 loc) · 1.6 KB

core / org.rewedigital.dialog.handler / DialogflowResponseBuilder / withGoogleSimpleResponse

withGoogleSimpleResponse

fun withGoogleSimpleResponse(simpleResponse: GoogleSimpleResponse): DialogflowResponseBuilder

Adds a GoogleSimpleResponse. RichResponse must start with a GoogleSimpleResponse. A maximum of two GoogleSimpleResponse per RichResponse are allowed.

fun withGoogleSimpleResponse(simpleResponse: String): DialogflowResponseBuilder

Adds a GoogleSimpleResponse with the given string. RichResponse must start with a GoogleSimpleResponse. A maximum of two GoogleSimpleResponse per RichResponse are allowed.