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

Safe HaskellNone
LanguageHaskell2010

Web.Slack.Message

Synopsis

Documentation

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

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 () Source #

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