Google Cloud Dialogflow V2 Client - Class QuickReplies (1.0.1)

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

The quick replies response message.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ title string

Optional. The title of the collection of quick replies.

↳ quick_replies array

Optional. The collection of quick replies.

getTitle

Optional. The title of the collection of quick replies.

Generated from protobuf field string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setTitle

Optional. The title of the collection of quick replies.

Generated from protobuf field string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQuickReplies

Optional. The collection of quick replies.

Generated from protobuf field repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setQuickReplies

Optional. The collection of quick replies.

Generated from protobuf field repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this