Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Color
- data UserId
- data SlackTimestamp = SlackTimestamp {}
- mkSlackTimestamp :: UTCTime -> SlackTimestamp
- data HistoryReq = HistoryReq {}
- mkHistoryReq :: Text -> HistoryReq
- data HistoryRsp = HistoryRsp {}
- data Message = Message {}
- data MessageType = MessageTypeMessage
- data SlackClientError
- newtype SlackMessageText = SlackMessageText {}
Documentation
data SlackTimestamp Source #
data HistoryReq Source #
mkHistoryReq :: Text -> HistoryReq Source #
data HistoryRsp Source #
Message | |
|
data MessageType Source #
data SlackClientError Source #
Errors that can be triggered by a slack request.
ServantError ServantError | errors from the network connection |
SlackError Text | errors returned by the slack API |
newtype SlackMessageText Source #
Message text in the format returned by Slack,
see https://api.slack.com/docs/message-formatting
Consider using messageToHtml
for displaying.