We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/publicRooms
1 parent fc946ab commit 5822730Copy full SHA for 5822730
src/@types/requests.ts
@@ -22,6 +22,7 @@ import { IRoomEventFilter } from "../filter";
22
import { Direction } from "../models/event-timeline";
23
import { PushRuleAction } from "./PushRules";
24
import { IRoomEvent } from "../sync-accumulator";
25
+import { RoomType } from "./event";
26
27
// allow camelcase as these are things that go onto the wire
28
/* eslint-disable camelcase */
@@ -111,7 +112,8 @@ export interface IRoomDirectoryOptions {
111
112
limit?: number;
113
since?: string;
114
filter?: {
- generic_search_term: string;
115
+ generic_search_term?: string;
116
+ "org.matrix.msc3827.room_types"?: Array<RoomType | null>;
117
};
118
include_all_networks?: boolean;
119
third_party_instance_id?: string;
0 commit comments