Spaces:
Sleeping
Sleeping
File size: 535 Bytes
a7476ec | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import RoomServices from './RoomServices.js';
import WebSocket from 'ws';
declare class MessageService {
username: string;
message: string;
room_id: string;
action: string;
rooms: RoomServices;
con: WebSocket;
constructor({ msg, rooms, con, }: {
msg: string;
rooms: RoomServices;
con: WebSocket;
});
join(): void;
leave(): void;
broadcast(): void;
broadcast_message(msg: string): void;
}
export default MessageService;
//# sourceMappingURL=MessageService.d.ts.map |