Safe Haskell | None |
---|---|
Language | Haskell98 |
- sendMessage :: ChannelId -> Text -> Slack s ()
- makePingPacket :: Slack s (IO ())
- ping :: Connection -> PingPayload -> IO ()
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.
makePingPacket :: Slack s (IO ()) Source
ping :: Connection -> PingPayload -> IO () Source
Send a ping packet to the server
The server will respond with a pong
Event
.