Class Message (2.28.3)

Message(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a message posted into a conversation.

Attributes

NameDescription
name str
Optional. The unique identifier of the message. Format: projects/.
content str
Required. The message content.
language_code str
Optional. The message language. This should be a BCP-47 __ language tag. Example: "en-US".
participant str
Output only. The participant that sends this message.
participant_role google.cloud.dialogflow_v2.types.Participant.Role
Output only. The role of the participant.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the message was created in Contact Center AI.
send_time google.protobuf.timestamp_pb2.Timestamp
Optional. The time when the message was sent.
message_annotation google.cloud.dialogflow_v2.types.MessageAnnotation
Output only. The annotation for the message.
sentiment_analysis google.cloud.dialogflow_v2.types.SentimentAnalysisResult
Output only. The sentiment analysis result for the message.