<aside> 💡

chatId는 user의 user_id 넣으면 됨!! ex) swim, suyeong2

</aside>

RequestBody

{
    "title" : "swim-suyeong3" // optional, 안넣으면 default로 title은 "채팅방"으로 저장
}

- 결과

{
    "message": "채팅방 저장 완료",
    "title": "swim-suyeong3",
    "members": [
        "6727baf25e4278b1a10f055b",
        "671a020d7bf7af90f191f413"
    ],
    "date": "2024-11-16T13:22:09.042Z"
}

ResponseBody

 {   
    // 없음
	}
{
    "message": "참여 중인 채팅방 목록",
    "chatrooms": [
        "채팅방",
        "suyeong2-suyeong3 채팅방"
    ]
}