メッセージを既読にする

PUT/chat-rooms/:roomId/read

チャットルームのメッセージを既読にし、未読件数を 0 にします。

認証要ログイン

パスパラメータ

roomIdstring必須

チャットルーム ID。

リクエスト
curl https://api.4s.link/chat-rooms/ROOM_ID/read \
-X PUT \
-H "Authorization: Bearer 4s_at_..."
レスポンス例
{
"chatRoomId": "r1a2b3c4-...",
"lastReadAt": "2026-08-18T00:00:00.000Z",
"unreadCount": 0
}