public sealed class Message : IMessage<Message>, IEquatable<Message>, IDeepCloneable<Message>, IBufferMessage, IMessage
Represents a message posted into a conversation.
Implements
IMessage<Message>, IEquatable<Message>, IDeepCloneable<Message>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
Message()
public Message()
Message(Message)
public Message(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Properties
Content
public string Content { get; set; }
Required. The message content.
Property Value | |
---|---|
Type | Description |
String |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time when the message was created in Contact Center AI.
Property Value | |
---|---|
Type | Description |
Timestamp |
LanguageCode
public string LanguageCode { get; set; }
Optional. The message language. This should be a BCP-47 language tag. Example: "en-US".
Property Value | |
---|---|
Type | Description |
String |
MessageAnnotation
public MessageAnnotation MessageAnnotation { get; set; }
Output only. The annotation for the message.
Property Value | |
---|---|
Type | Description |
MessageAnnotation |
MessageName
public MessageName MessageName { get; set; }
MessageName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
MessageName |
Name
public string Name { get; set; }
Optional. The unique identifier of the message.
Format: projects/{Project ID}/locations/{Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
Property Value | |
---|---|
Type | Description |
String |
Participant
public string Participant { get; set; }
Output only. The participant that sends this message.
Property Value | |
---|---|
Type | Description |
String |
ParticipantRole
public Participant.Types.Role ParticipantRole { get; set; }
Output only. The role of the participant.
Property Value | |
---|---|
Type | Description |
Participant.Types.Role |
SendTime
public Timestamp SendTime { get; set; }
Optional. The time when the message was sent.
Property Value | |
---|---|
Type | Description |
Timestamp |
SentimentAnalysis
public SentimentAnalysisResult SentimentAnalysis { get; set; }
Output only. The sentiment analysis result for the message.
Property Value | |
---|---|
Type | Description |
SentimentAnalysisResult |