Google Cloud Dialogflow V2 Client - Class Suggestion (1.10.2)

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

Namespace

Google \ Cloud \ Dialogflow \ V2 \ Intent \ Message

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setTitle

Required. The text shown the in the suggestion chip.

Parameter
NameDescription
var string
Returns
TypeDescription
$this