UNPKG

matrix-react-sdk

Version:
15 lines (14 loc) 491 B
import { Room } from "matrix-js-sdk/src/matrix"; interface GuestAccessInformation { canInviteGuests: boolean; guestSpaUrl?: string; isRoomJoinable: () => boolean; canInvite: boolean; } /** * Helper to retrieve the guest access related information for a room. * @param room * @returns The GuestAccessInformation which helps decide what options the user should be given. */ export declare const useGuestAccessInformation: (room: Room) => GuestAccessInformation; export {};