Skip to content

Commit b58b5ec

Browse files
committed
Update doc
1 parent 6ea5e96 commit b58b5ec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/element-web-module-api/element-web-module-api.api.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,11 +289,18 @@ export class ModuleLoader {
289289

290290
// @public
291291
export interface NavigationApi {
292+
openRoom(roomIdOrAlias: string, opts?: OpenRoomOptions): void;
292293
// @alpha
293294
registerLocationRenderer(path: string, renderer: LocationRenderFunction): void;
294295
toMatrixToLink(link: string, join?: boolean): Promise<void>;
295296
}
296297

298+
// @public
299+
export interface OpenRoomOptions {
300+
autoJoin?: boolean;
301+
viaServers?: string[];
302+
}
303+
297304
// @alpha
298305
export type OriginalMessageComponentProps = {
299306
showUrlPreview?: boolean;

0 commit comments

Comments
 (0)