stream-chat-react
Version:
React components to create chat conversations or livestream style chat
10 lines (9 loc) • 355 B
TypeScript
import type { Channel, LocalMessage, UserResponse } from 'stream-chat';
type UseLastDeliveredDataParams = {
channel: Channel;
messages: LocalMessage[];
returnAllReadData: boolean;
lastOwnMessage?: LocalMessage;
};
export declare const useLastDeliveredData: (props: UseLastDeliveredDataParams) => Record<string, UserResponse[]>;
export {};