View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageCarouselSelectItem (google_api_dialogflow v0.88.3)

An item in the carousel.

Attributes

  • description (type: String.t, default: nil) - Optional. The body text of the card.
  • image (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageImage.t, default: nil) - Optional. The image to display.
  • info (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageSelectItemInfo.t, default: nil) - Required. Additional info about the option item.
  • title (type: String.t, default: nil) - Required. Title of the carousel item.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageCarouselSelectItem{
    description: String.t() | nil,
    image:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageImage.t()
      | nil,
    info:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2IntentMessageSelectItemInfo.t()
      | nil,
    title: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.