UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

24 lines 690 B
import { ChatMessage } from '@azure/communication-chat'; import { MessageStatus } from "../../../acs-ui-common/src"; /** * An extension to {@link @azure/communication-chat#ChatMessage} that stores * client-side only metadata for chat messages. * * TODO: The name has bitrotted. Rename me. * * @public */ export type ChatMessageWithStatus = ChatMessage & { clientMessageId?: string; status: MessageStatus; resourceCache?: Record<string, ResourceFetchResult>; }; /** * Result of the Resource downloaded from stateful client * @public */ export type ResourceFetchResult = { sourceUrl?: string; error?: Error; }; //# sourceMappingURL=ChatMessageWithStatus.d.ts.map