GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1Message (google_api_dialogflow v0.66.2) View Source

Represents a message posted into a conversation.

Attributes

  • content (type: String.t, default: nil) - Required. The message content.
  • createTime (type: DateTime.t, default: nil) - Output only. The time when the message was created in Contact Center AI.
  • languageCode (type: String.t, default: nil) - Optional. The message language. This should be a BCP-47 language tag. Example: "en-US".
  • messageAnnotation (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1MessageAnnotation.t, default: nil) - Output only. The annotation for the message.
  • name (type: String.t, default: nil) - Optional. The unique identifier of the message. Format: projects//locations//conversations//messages/.
  • participant (type: String.t, default: nil) - Output only. The participant that sends this message.
  • participantRole (type: String.t, default: nil) - Output only. The role of the participant.
  • sendTime (type: DateTime.t, default: nil) - Optional. The time when the message was sent.
  • sentimentAnalysis (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SentimentAnalysisResult.t, default: nil) - Output only. The sentiment analysis result for the message.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1Message{
  content: String.t() | nil,
  createTime: DateTime.t() | nil,
  languageCode: String.t() | nil,
  messageAnnotation:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1MessageAnnotation.t()
    | nil,
  name: String.t() | nil,
  participant: String.t() | nil,
  participantRole: String.t() | nil,
  sendTime: DateTime.t() | nil,
  sentimentAnalysis:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SentimentAnalysisResult.t()
    | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.