Google Cloud Dialogflow V2 Client - Class Text (2.4.0)

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

The text response message.

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

Namespace

Google \ Cloud \ Dialogflow \ V2 \ Intent \ Message

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ text
string[]

Optional. The collection of the agent's responses.

getText

Optional. The collection of the agent's responses.

Returns
Type
Description

setText

Optional. The collection of the agent's responses.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: