marvin-0.0.4: A modular bot for slack
Marvin.Adapter.Slack
Contents
data SlackRTMAdapter Source #
Instances
Methods
adapterId :: AdapterId SlackRTMAdapter Source #
messageChannel :: SlackRTMAdapter -> Channel -> String -> IO () Source #
runWithAdapter :: RunWithAdapter SlackRTMAdapter Source #
getUsername :: SlackRTMAdapter -> User -> IO String Source #
getChannelName :: SlackRTMAdapter -> Channel -> IO String Source #
resolveChannel :: SlackRTMAdapter -> String -> IO (Maybe Channel) Source #
toJSON :: URI -> Value #
toEncoding :: URI -> Encoding #
parseJSON :: Value -> Parser URI #