Google Cloud Dialogflow V2 Client - Class LinkOutSuggestion (1.4.0)

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

The suggestion chip message that allows the user to jump out to the app or website associated with this agent.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ destination_name string

Required. The name of the app or site this chip is linking to.

↳ uri string

Required. The URI of the app or site to open when the user taps the suggestion chip.

getDestinationName

Required. The name of the app or site this chip is linking to.

Returns
TypeDescription
string

setDestinationName

Required. The name of the app or site this chip is linking to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUri

Required. The URI of the app or site to open when the user taps the suggestion chip.

Returns
TypeDescription
string

setUri

Required. The URI of the app or site to open when the user taps the suggestion chip.

Parameter
NameDescription
var string
Returns
TypeDescription
$this