public sealed class MessageEntry : IMessage<MessageEntry>, IEquatable<MessageEntry>, IDeepCloneable<MessageEntry>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class MessageEntry.
Represents a message entry of a conversation.
Implements
IMessageMessageEntry, IEquatableMessageEntry, IDeepCloneableMessageEntry, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
MessageEntry()
public MessageEntry()
MessageEntry(MessageEntry)
public MessageEntry(MessageEntry other)
Parameter | |
---|---|
Name | Description |
other |
MessageEntry |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Optional. Create time of the message entry.
Property Value | |
---|---|
Type | Description |
Timestamp |
LanguageCode
public string LanguageCode { get; set; }
Optional. The language of the text. See Language Support for a list of the currently supported language codes.
Property Value | |
---|---|
Type | Description |
string |
Role
public MessageEntry.Types.Role Role { get; set; }
Optional. Participant role of the message.
Property Value | |
---|---|
Type | Description |
MessageEntryTypesRole |
Text
public string Text { get; set; }
Optional. Transcript content of the message.
Property Value | |
---|---|
Type | Description |
string |