Options
All
  • Public
  • Public/Protected
  • All
Menu

Class User

A user in the chat.

Hierarchy

  • User

Implements

Indexable

[key: string]: any

A user in the chat.

Index

Constructors

Properties

Constructors

constructor

  • Create a User (creates ID and room if not given in meta) Create a User (creates ID and room if not given in meta)

    Parameters

    Returns User

Properties

id

id: string = ""

Optional name

name: undefined | string

room

room: Room

Generated using TypeDoc