slack-web-1.5.0.0: Bindings for the Slack web API
Safe HaskellSafe-Inferred
LanguageHaskell2010

Web.Slack.MessageParser

Description

Synopsis

Documentation

messageToHtml Source #

Arguments

:: HtmlRenderers

Renderers allow you to customize the message rendering. Give defaultHtmlRenderers for a default implementation.

-> (UserId -> Text)

A function giving a user name for a user id. You can use getUserDesc

-> SlackMessageText

A slack message to convert to HTML

-> Text

The HTML-formatted slack message

Convert the slack format for messages (markdown like, see https://api.slack.com/docs/message-formatting ) to HTML.