marvin-0.0.5: A modular chat bot
Marvin.Adapter.Slack
Contents
Description
data SlackRTMAdapter Source #
Instances
Methods
adapterId :: AdapterId SlackRTMAdapter Source #
messageChannel :: SlackRTMAdapter -> Channel -> Text -> RunnerM () Source #
runWithAdapter :: RunWithAdapter SlackRTMAdapter Source #
getUsername :: SlackRTMAdapter -> User -> RunnerM Text Source #
getChannelName :: SlackRTMAdapter -> Channel -> RunnerM Text Source #
resolveChannel :: SlackRTMAdapter -> Text -> RunnerM (Maybe Channel) Source #
toJSON :: URI -> Value #
toEncoding :: URI -> Encoding #
parseJSON :: Value -> Parser URI #