public sealed class Message : IMessage<Message>, IEquatable<Message>, IDeepCloneable<Message>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Message.
Represents a message posted into a conversation.
Namespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.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 |
ParticipantTypesRole |
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 |