Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class MessageEntry.
Represents a message entry of a conversation.
Generated from protobuf message google.cloud.dialogflow.v2.MessageEntry
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ role
int
Optional. Participant role of the message.
↳ text
string
Optional. Transcript content of the message.
↳ language_code
string
Optional. The language of the text. See Language Support for a list of the currently supported language codes.
↳ create_time
getRole
Optional. Participant role of the message.
int
setRole
Optional. Participant role of the message.
var
int
$this
getText
Optional. Transcript content of the message.
string
setText
Optional. Transcript content of the message.
var
string
$this
getLanguageCode
Optional. The language of the text. See Language Support for a list of the currently supported language codes.
string
setLanguageCode
Optional. The language of the text. See Language Support for a list of the currently supported language codes.
var
string
$this
getCreateTime
Optional. Create time of the message entry.
hasCreateTime
clearCreateTime
setCreateTime
Optional. Create time of the message entry.
$this