Class Message (2.1.2)

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

Represents a message posted into a conversation.

Attributes

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