slack-api-0.7: Bindings to the Slack RTM API.

Safe HaskellNone
LanguageHaskell98

Web.Slack.Message

Synopsis

Documentation

sendMessage :: ChannelId -> Text -> Slack s ()

Send a message to the specified channel.

If the message is longer than 4000 bytes then the connection will be closed.

ping :: Connection -> PingPayload -> IO ()

Send a ping packet to the server The server will respond with a pong Event.