Class Message (2.9.1)

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

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

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_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.
message_annotation google.cloud.dialogflow_v2.types.MessageAnnotation
Output only. The annotation for the message.