Google Cloud Dialogflow V2 Client - Class Suggestion (1.2.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class Suggestion.

The suggestion chip message that the user can tap to quickly post a reply to the conversation.

Generated from protobuf message google.cloud.dialogflow.v2.Intent.Message.Suggestion

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ title
string

Required. The text shown the in the suggestion chip.

getTitle

Required. The text shown the in the suggestion chip.

Returns
Type
Description
string

setTitle

Required. The text shown the in the suggestion chip.

Parameter
Name
Description
var
string
Returns
Type
Description
$this