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

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

Line.Bot.Client

Contents

Description

 
Synopsis

Documentation

type Line = ReaderT ChannelToken ClientM Source #

Line is the monad in which bot requests run. Contains the OAuth access token for a channel

runLine :: Line a -> ChannelToken -> IO (Either ServantError a) Source #

Runs a Line computation with the given channel access token

runLineWith :: (ClientM a -> IO (Either ServantError a)) -> Line a -> ChannelToken -> IO (Either ServantError a) Source #

Runs the monad with a different client evironment

Profile

Group

Room

Message

Account Link

OAuth