UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

10 lines (9 loc) 340 B
import type { Channel, LocalMessage, UserResponse } from 'stream-chat'; type UseLastReadDataParams = { channel: Channel; messages: LocalMessage[]; returnAllReadData: boolean; lastOwnMessage?: LocalMessage; }; export declare const useLastReadData: (props: UseLastReadDataParams) => Record<string, UserResponse[]>; export {};