chatMessageRowToApi(row: ChatMessageRow): ChatMessage
Converts a row to the ChatMessage that chat-service returns, turning its timestamps into Dates and its nulls into absent fields.
row: ChatMessageRow
chatMessageRowToApi(row: ChatMessageRow): ChatMessage
Converts a row to the ChatMessage that chat-service returns, turning its timestamps into Dates and its nulls into absent fields.
row: ChatMessageRow
import { chatMessageRowToApi } from "api/model/chat.ts";