google_api_dialogflow v0.2.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 type
t()
View Source
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessage{
basicCard:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageBasicCard.t(),
card:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageCard.t(),
carouselSelect:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageCarouselSelect.t(),
image:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageImage.t(),
linkOutSuggestion:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion.t(),
listSelect:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageListSelect.t(),
payload: map(),
platform: any(),
quickReplies:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageQuickReplies.t(),
simpleResponses:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageSimpleResponses.t(),
suggestions:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageSuggestions.t(),
text:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageText.t()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.