marvin-0.2.1: A framework for modular, portable chat bots.

Copyright(c) Justus Adam 2016
LicenseBSD3
Maintainerdev@justus.science
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Marvin.Adapter.Slack.EventsAPI

Description

 

Synopsis

Documentation

data SlackAdapter a Source #

Adapter for interacting with Slack API's. Polymorphic over the method for retrieving events.

data EventsAPI Source #

Recieve events as a server via HTTP webhook (not implemented yet)

class MkSlack a Source #

Class to enable polymorphism for SlackAdapter over the method used for retrieving updates. (RTM or EventsAPI)

Minimal complete definition

mkAdapterId, initIOConnections