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

Rich Business Messaging (RBM) Card content

Attributes

  • description (type: String.t, default: nil) - Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
  • media (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia.t, default: nil) - Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
  • suggestions (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion.t), default: nil) - Optional. List of suggestions to include in the card.
  • title (type: String.t, default: nil) - Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent{
    description: String.t() | nil,
    media:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia.t()
      | nil,
    suggestions:
      [
        GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion.t()
      ]
      | nil,
    title: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.