dialogflow-fulfillment-0.1.1.2: A Dialogflow Fulfillment library for Haskell.

Copyright(c) Mauricio Fierro 2019
LicenseBSD3-Clause
MaintainerMauricio Fierro <mauriciofierrom@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Dialogflow.V2.Fulfillment.Webhook.Request

Description

This module contains types for Dialogflow webhook requests. See the Dialogflow documentation.

Synopsis

Documentation

data Intent Source #

Represents an intent.

Constructors

Intent 

Fields

data Context Source #

Represents a context.

Constructors

Context 

Fields

data QueryResult Source #

Represents the result of conversational query or event processing.

Constructors

QueryResult 

Fields

getContextParameter Source #

Arguments

:: [Context]

The list of Context.

-> String

The name of the Context.

-> String

The name of the parameter.

-> Maybe String 

Given a list of Context, find the value of a parameter of a context in the list.