matrix-react-sdk
Version:
SDK for matrix.org using React
9 lines (8 loc) • 360 B
TypeScript
import { Room } from "matrix-js-sdk/src/matrix";
import { NotificationLevel } from "../../stores/notifications/NotificationLevel";
/**
* Tracks the thread unread state for an entire room
* @param room the room to track
* @returns the type of notification for this room
*/
export declare const useRoomThreadNotifications: (room: Room) => NotificationLevel;