line-bot-sdk-0.5.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 Auth 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

runLine' :: ClientM a -> IO (Either ServantError a) Source #

Executes a request in the LINE plaform (default)

Profile

Group

Room

Message

getContent :: MessageId -> Line ByteString Source #

TODO: this should use a streaming library for constant memory usage over large data

Account Link

OAuth