(sigil xmpp muc)
(sigil xmpp muc) - Multi-User Chat (XEP-0045)
Provides MUC (chatroom) support including joining, leaving, messaging, occupant tracking, and room administration.
Exports
muc-roomprocedureConstruct a muc-room struct.
muc-room?procedureTest if a value is a muc-room struct.
muc-room-jidprocedureGet the jid field of a muc-room struct.
muc-room-nickprocedureGet the nick field of a muc-room struct.
muc-room-subjectprocedureGet the subject field of a muc-room struct.
muc-room-occupantsprocedureGet the occupants field of a muc-room struct.
muc-room-joined?procedureGet the joined? field of a muc-room struct.
set-muc-room-subject!procedureSet the subject field of a muc-room struct.
set-muc-room-occupants!procedureSet the occupants field of a muc-room struct.
set-muc-room-joined?!procedureSet the joined? field of a muc-room struct.
%muc-occupant--typevariableSet the joined? field of a muc-room struct.
muc-occupantprocedureConstruct a muc-occupant struct.
muc-occupant?procedureTest if a value is a muc-occupant struct.
muc-occupant-nickprocedureGet the nick field of a muc-occupant struct.
muc-occupant-jidprocedureGet the jid field of a muc-occupant struct.
muc-occupant-affiliationprocedureGet the affiliation field of a muc-occupant struct.
muc-occupant-roleprocedureGet the role field of a muc-occupant struct.
xmpp-muc-joinprocedureJoin a MUC room.
(xmpp-muc-join conn "room@conference.example.com" "mynick")xmpp-muc-leavevariableLeave a MUC room.
xmpp-muc-messageprocedureSend a message to a MUC room.
(xmpp-muc-message conn "room@conference.example.com" "Hello room!")xmpp-muc-private-messageprocedureSend a private message to a MUC occupant.
xmpp-muc-set-subjectprocedureSet the subject of a MUC room.
xmpp-muc-occupantsprocedureGet the occupants of a MUC room.
Returns a list of muc-occupant records, or '() if not in the room.
xmpp-muc-kickvariableKick an occupant from a MUC room (requires moderator role).
xmpp-muc-invitevariableSend a mediated invitation to a user.