Google Cloud Dialogflow V2 Client - Class ConversationContext (1.17.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<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<MessageEntry>
Returns
Type Description
$this