google_api_dialogflow v0.5.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessage View Source

Corresponds to the `Response` field in the Dialogflow console.

Attributes

  • basicCard (GoogleCloudDialogflowV2IntentMessageBasicCard): The basic card response for Actions on Google. Defaults to: null.
  • card (GoogleCloudDialogflowV2IntentMessageCard): The card response. Defaults to: null.
  • carouselSelect (GoogleCloudDialogflowV2IntentMessageCarouselSelect): The carousel card response for Actions on Google. Defaults to: null.
  • image (GoogleCloudDialogflowV2IntentMessageImage): The image response. Defaults to: null.
  • linkOutSuggestion (GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion): The link out suggestion chip for Actions on Google. Defaults to: null.
  • listSelect (GoogleCloudDialogflowV2IntentMessageListSelect): The list card response for Actions on Google. Defaults to: null.
  • payload (%{optional(String.t) => String.t}): Returns a response containing a custom, platform-specific payload. See the Intent.Message.Platform type for a description of the structure that may be required for your platform. Defaults to: null.
  • platform (String.t): Optional. The platform that this message is intended for. Defaults to: null.

    • Enum - one of [PLATFORM_UNSPECIFIED, FACEBOOK, SLACK, TELEGRAM, KIK, SKYPE, LINE, VIBER, ACTIONS_ON_GOOGLE]
  • quickReplies (GoogleCloudDialogflowV2IntentMessageQuickReplies): The quick replies response. Defaults to: null.
  • simpleResponses (GoogleCloudDialogflowV2IntentMessageSimpleResponses): The voice and text-only responses for Actions on Google. Defaults to: null.
  • suggestions (GoogleCloudDialogflowV2IntentMessageSuggestions): The suggestion chips for Actions on Google. Defaults to: null.
  • text (GoogleCloudDialogflowV2IntentMessageText): The text response. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

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.