Google Cloud Dialogflow V2 Client - Class ConversationContext (1.13.0)

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

Context of the conversation, including transcripts.

Generated from protobuf message google.cloud.dialogflow.v2.ConversationContext

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ message_entries array<Google\Cloud\Dialogflow\V2\MessageEntry>

Optional. List of message transcripts in the conversation.

getMessageEntries

Optional. List of message transcripts in the conversation.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMessageEntries

Optional. List of message transcripts in the conversation.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\V2\MessageEntry>
Returns
Type Description
$this