import { ChatMessage } from '@azure/communication-chat' ; import { MessageStatus } from '@internal/acs-ui-common' ; import { ChatMessageWithStatus } from './types/ChatMessageWithStatus' ; private export const convertChatMessage = ( message , status = 'delivered' , clientMessageId ? ) : ChatMessageWithStatus => { return { ... message , clientMessageId : clientMessageId , status } ; } ;