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.
Generated from protobuf field string title = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setTitle
Required. The text shown the in the suggestion chip.
Generated from protobuf field string title = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |