Copyright | (c) Mauricio Fierro 2019 |
---|---|
License | BSD3-Clause |
Maintainer | Mauricio Fierro <mauriciofierrom@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
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.
Instances
Eq EventInput Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response (==) :: EventInput -> EventInput -> Bool # (/=) :: EventInput -> EventInput -> Bool # | |
Show EventInput Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response showsPrec :: Int -> EventInput -> ShowS # show :: EventInput -> String # showList :: [EventInput] -> ShowS # | |
ToJSON EventInput Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response toJSON :: EventInput -> Value # toEncoding :: EventInput -> Encoding # toJSONList :: [EventInput] -> Value # toEncodingList :: [EventInput] -> Encoding # | |
FromJSON EventInput Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response parseJSON :: Value -> Parser EventInput # parseJSONList :: Value -> Parser [EventInput] # |
data WebhookResponse Source #
The response message for a webhook call.
WebhookResponse | |
|
Instances
Eq WebhookResponse Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response (==) :: WebhookResponse -> WebhookResponse -> Bool # (/=) :: WebhookResponse -> WebhookResponse -> Bool # | |
Show WebhookResponse Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response showsPrec :: Int -> WebhookResponse -> ShowS # show :: WebhookResponse -> String # showList :: [WebhookResponse] -> ShowS # | |
ToJSON WebhookResponse Source # | |
Defined in Dialogflow.V2.Fulfillment.Webhook.Response toJSON :: WebhookResponse -> Value # toEncoding :: WebhookResponse -> Encoding # toJSONList :: [WebhookResponse] -> Value # toEncodingList :: [WebhookResponse] -> Encoding # |