Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UserPreview

Index

Constructors

constructor

Properties

displayName

displayName: string

The first and last name of the user

groupDisplayName

groupDisplayName: string

id

id: string

The uuid of the user

profile

profile: profile

The profile of the user (eg. Student, Teacher...)

session

session: Session

Methods

avatarURL

  • avatarURL(): string
  • The users avatar url

    Returns string

fetchUser

  • fetchUser(): Promise<User>

sendMessage

  • Sends a message to this user preview and returns the message id.

    Parameters

    Returns Promise<number>

toJSON

Generated using TypeDoc