pontarius-xmpp-extras-0.1.0.4: XEPs implementation on top of pontarius-xmpp

StabilityUltra-Violence
PortabilityI'm too young to die
Safe HaskellNone
LanguageHaskell2010

Network.Xmpp.Extras.MUC

Description

XEP-0045: Multi-User Chat

Synopsis

Documentation

joinMUC :: Jid -> Maybe MUCHistoryReq -> Session -> IO (Either XmppFailure ()) Source #

Join the specified MUC or change your nickname in the already joined one. The resource part of the Jid sets the desired nickname.

sendMUC :: Jid -> Text -> Session -> IO (Either XmppFailure ()) Source #

Send a broadcast message. Jid must be bare.