google_api_dialogflow v0.6.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessage View Source
Corresponds to the `Response` field in the Dialogflow console.
Attributes
- basicCard (GoogleCloudDialogflowV2beta1IntentMessageBasicCard): Displays a basic card for Actions on Google. Defaults to:
null
. - card (GoogleCloudDialogflowV2beta1IntentMessageCard): Displays a card. Defaults to:
null
. - carouselSelect (GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect): Displays a carousel card for Actions on Google. Defaults to:
null
. - image (GoogleCloudDialogflowV2beta1IntentMessageImage): Displays an image. Defaults to:
null
. - linkOutSuggestion (GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion): Displays a link out suggestion chip for Actions on Google. Defaults to:
null
. - listSelect (GoogleCloudDialogflowV2beta1IntentMessageListSelect): Displays a list card 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, TELEPHONY]
- quickReplies (GoogleCloudDialogflowV2beta1IntentMessageQuickReplies): Displays quick replies. Defaults to:
null
. - simpleResponses (GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses): Returns a voice or text-only response for Actions on Google. Defaults to:
null
. - suggestions (GoogleCloudDialogflowV2beta1IntentMessageSuggestions): Displays suggestion chips for Actions on Google. Defaults to:
null
. - telephonyPlayAudio (GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio): Plays audio from a file in Telephony Gateway. Defaults to:
null
. - telephonySynthesizeSpeech (GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech): Synthesizes speech in Telephony Gateway. Defaults to:
null
. - telephonyTransferCall (GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall): Transfers the call in Telephony Gateway. Defaults to:
null
. - text (GoogleCloudDialogflowV2beta1IntentMessageText): Returns a 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()
View Source
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessage{
basicCard:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBasicCard.t(),
card:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageCard.t(),
carouselSelect:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect.t(),
image:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t(),
linkOutSuggestion:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion.t(),
listSelect:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageListSelect.t(),
payload: map(),
platform: any(),
quickReplies:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies.t(),
simpleResponses:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses.t(),
suggestions:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageSuggestions.t(),
telephonyPlayAudio:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio.t(),
telephonySynthesizeSpeech:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.t(),
telephonyTransferCall:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall.t(),
text:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageText.t()
}
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessage{ basicCard: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBasicCard.t(), card: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageCard.t(), carouselSelect: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect.t(), image: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t(), linkOutSuggestion: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion.t(), listSelect: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageListSelect.t(), payload: map(), platform: any(), quickReplies: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies.t(), simpleResponses: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses.t(), suggestions: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageSuggestions.t(), telephonyPlayAudio: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio.t(), telephonySynthesizeSpeech: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.t(), telephonyTransferCall: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall.t(), text: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageText.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.