teal-src/plugins/muc/muc.lib.d.tl
changeset 12896 d788714fcf21
parent 12895 93ce4244d433
child 12897 d7046ffc59f3
equal deleted inserted replaced
12895:93ce4244d433 12896:d788714fcf21
   159 	end
   159 	end
   160 
   160 
   161 	save : function (Room, forced : boolean, savestate : boolean) : boolean
   161 	save : function (Room, forced : boolean, savestate : boolean) : boolean
   162 	freeze : function (Room, live : boolean) : FrozenRoom, { string : StateEntry }
   162 	freeze : function (Room, live : boolean) : FrozenRoom, { string : StateEntry }
   163 end
   163 end
       
   164 
       
   165 local record lib
       
   166 	new_room : function (jid : string, config : { string : any }) : Room
       
   167 	restore_room : function (Room.FrozenRoom, { string : Room.StateEntry }) : Room
       
   168 
       
   169 	room_mt : metatable
       
   170 end
       
   171 
       
   172 return lib