Files
EstimationPoker/src/server/classes/messages/JoinRoomMessage.ts
T
2023-07-09 22:40:42 +01:00

14 lines
297 B
TypeScript

export class JoinRoomMessage {
type: string;
roomId: string;
userId: string;
name: string;
constructor(roomId: string, userId: string, name: string) {
this.type = 'join-room';
this.roomId = roomId;
this.userId = userId;
this.name = name;
}
}