google_api_dialogflow v0.38.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Message 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.
  • 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.GoogleCloudDialogflowV2MessageAnnotation.t, default: nil) - Output only. The annotation for the message.
  • name (type: String.t, default: nil) - The unique identifier of the message. Format: projects/<Project ID>/conversations/<Conversation ID>/messages/<Message ID>.
  • 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Message{
  content: String.t(),
  createTime: DateTime.t(),
  languageCode: String.t(),
  messageAnnotation:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2MessageAnnotation.t(),
  name: String.t(),
  participant: String.t(),
  participantRole: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.