Options
All
  • Public
  • Public/Protected
  • All
Menu

This accessor provides methods for accessing rooms in a read-only-fashion.

Hierarchy

  • IRoomRead

Index

Methods

getById

  • getById(id: string): Promise<IRoom>

getByName

  • getByName(name: string): Promise<IRoom>

getCreatorUserById

  • getCreatorUserById(id: string): Promise<IUser>

getCreatorUserByName

  • getCreatorUserByName(name: string): Promise<IUser>

getDirectByUsernames

  • getDirectByUsernames(usernames: string[]): Promise<IRoom>

getMembers

  • getMembers(roomId: string): Promise<IUser[]>

getMessages

  • getMessages(roomId: string): Promise<IterableIterator<IMessage>>

Generated using TypeDoc