marvin-0.1.4: A modular chat bot

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

Marvin.Adapter.Slack.RTM

Description

 

Synopsis

Documentation

data SlackAdapter a Source #

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

data RTM Source #

Recieve events by opening a websocket to the Real Time Messaging API

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