View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2MessageEntry (google_api_dialogflow v0.88.3)

Represents a message entry of a conversation.

Attributes

  • createTime (type: DateTime.t, default: nil) - Optional. Create time of the message entry.
  • languageCode (type: String.t, default: nil) - Optional. The language of the text. See Language Support for a list of the currently supported language codes.
  • role (type: String.t, default: nil) - Optional. Participant role of the message.
  • text (type: String.t, default: nil) - Optional. Transcript content of the message.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2MessageEntry{
  createTime: DateTime.t() | nil,
  languageCode: String.t() | nil,
  role: String.t() | nil,
  text: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.