sigildocs

(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-roomprocedure

Construct a muc-room struct.

muc-room?procedure

Test if a value is a muc-room struct.

muc-room-jidprocedure

Get the jid field of a muc-room struct.

muc-room-nickprocedure

Get the nick field of a muc-room struct.

Get the subject field of a muc-room struct.

Get the occupants field of a muc-room struct.

Get the joined? field of a muc-room struct.

Set the subject field of a muc-room struct.

Set the occupants field of a muc-room struct.

Set the joined? field of a muc-room struct.

Set the joined? field of a muc-room struct.

muc-occupantprocedure

Construct a muc-occupant struct.

muc-occupant?procedure

Test if a value is a muc-occupant struct.

Get the nick field of a muc-occupant struct.

Get the jid field of a muc-occupant struct.

Get the affiliation field of a muc-occupant struct.

Get the role field of a muc-occupant struct.

xmpp-muc-joinprocedure

Join a MUC room.

(xmpp-muc-join conn "room@conference.example.com" "mynick")

Leave a MUC room.

Send a message to a MUC room.

(xmpp-muc-message conn "room@conference.example.com" "Hello room!")

Send a private message to a MUC occupant.

Set the subject of a MUC room.

Get the occupants of a MUC room.

Returns a list of muc-occupant records, or '() if not in the room.

Kick an occupant from a MUC room (requires moderator role).

Send a mediated invitation to a user.