Copyright | (c) Mauricio Fierro 2019 |
---|---|
License | BSD3-Clause |
Maintainer | Mauricio Fierro <mauriciofierrom@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
Dialogflow.V2.Fulfillment.Webhook.Response
Description
This module contains types for Dialogflow webhook response. See the Dialogflow documentation.
Synopsis
- data EventInput = EventInput {}
- data WebhookResponse = WebhookResponse {}
Documentation
data EventInput Source #
Makes the platform immediately invoke another DetectIntent call internally with the specified event as input. When this field is set, Dialogflow ignores the fulfillment_text, fulfillment_messages, and payload fields.
Constructors
EventInput | |
Fields |
Instances
Eq EventInput Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response | |
Show EventInput Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response Methods showsPrec :: Int -> EventInput -> ShowS # show :: EventInput -> String # showList :: [EventInput] -> ShowS # | |
ToJSON EventInput Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response Methods toJSON :: EventInput -> Value # toEncoding :: EventInput -> Encoding # toJSONList :: [EventInput] -> Value # toEncodingList :: [EventInput] -> Encoding # | |
FromJSON EventInput Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response |
data WebhookResponse Source #
The response message for a webhook call.
Constructors
WebhookResponse | |
Fields
|
Instances
Eq WebhookResponse Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response Methods (==) :: WebhookResponse -> WebhookResponse -> Bool # (/=) :: WebhookResponse -> WebhookResponse -> Bool # | |
Show WebhookResponse Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response Methods showsPrec :: Int -> WebhookResponse -> ShowS # show :: WebhookResponse -> String # showList :: [WebhookResponse] -> ShowS # | |
ToJSON WebhookResponse Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response Methods toJSON :: WebhookResponse -> Value # toEncoding :: WebhookResponse -> Encoding # toJSONList :: [WebhookResponse] -> Value # toEncodingList :: [WebhookResponse] -> Encoding # |