MUC: Add Teal description of muc.lib functions
authorKim Alvefur <zash@zash.se>
Mon, 20 Feb 2023 15:11:29 +0100
changeset 12896 d788714fcf21
parent 12895 93ce4244d433
child 12897 d7046ffc59f3
MUC: Add Teal description of muc.lib functions
teal-src/plugins/muc/muc.lib.d.tl
--- a/teal-src/plugins/muc/muc.lib.d.tl	Mon Feb 20 15:08:06 2023 +0100
+++ b/teal-src/plugins/muc/muc.lib.d.tl	Mon Feb 20 15:11:29 2023 +0100
@@ -161,3 +161,12 @@
 	save : function (Room, forced : boolean, savestate : boolean) : boolean
 	freeze : function (Room, live : boolean) : FrozenRoom, { string : StateEntry }
 end
+
+local record lib
+	new_room : function (jid : string, config : { string : any }) : Room
+	restore_room : function (Room.FrozenRoom, { string : Room.StateEntry }) : Room
+
+	room_mt : metatable
+end
+
+return lib