Class Message (2.9.1)

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

Represents a message posted into a conversation. .. attribute:: name

Optional. The unique identifier of the message. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

:type: str

Attributes

NameDescription
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_v2beta1.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_v2beta1.types.MessageAnnotation
Output only. The annotation for the message.
sentiment_analysis google.cloud.dialogflow_v2beta1.types.SentimentAnalysisResult
Output only. The sentiment analysis result for the message.