Skip to content
Snippets Groups Projects
Commit 0d202144 authored by Midhun Suresh's avatar Midhun Suresh
Browse files

Move method down

parent a0b98cbb
No related branches found
No related tags found
No related merge requests found
export interface IMatrixClient {
/**
* Register an account with the given credentials; this method must complete all the stages with no further user interaction.
*/
register(username: string, password: string, initialDeviceDisplayName: string): Promise<void>;
login(username: string, password: string): Promise<void>;
showRoom(roomId: string): Promise<void>;
/**
* Try to start the client with a previous login
* @returns true if successful, false otherwise
*/
attemptStartWithExistingSession(): Promise<boolean>;
/**
* Renders a timeline for the given room.
* @remarks This method should join the room if needed.
* @param roomId internal room-id, not alias
*/
showRoom(roomId: string): Promise<void>;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment