line-bot-sdk-0.2.0.0: Haskell SDK for LINE Messaging API

Copyright(c) Alexandre Moreno 2019
LicenseBSD3
Maintaineralexmorenocano@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Line.Bot.Webhook

Description

 

Documentation

data LineReqBody (contentTypes :: [*]) (a :: *) Source #

Instances
(AllCTUnrender list a, HasServer api context, HasContextEntry context ChannelSecret) => HasServer (LineReqBody list a :> api :: Type) context Source # 
Instance details

Defined in Line.Bot.Webhook

Associated Types

type ServerT (LineReqBody list a :> api) m :: Type #

Methods

route :: Proxy (LineReqBody list a :> api) -> Context context -> Delayed env (Server (LineReqBody list a :> api)) -> Router env #

hoistServerWithContext :: Proxy (LineReqBody list a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (LineReqBody list a :> api) m -> ServerT (LineReqBody list a :> api) n #

type ServerT (LineReqBody list a :> api :: Type) m Source # 
Instance details

Defined in Line.Bot.Webhook

type ServerT (LineReqBody list a :> api :: Type) m = a -> ServerT api m