TLSyncUserInfo

See source code
Table of contents

The information about a user which is used for multiplayer features.

interface TLSyncUserInfo {}

Properties

color

optional

The user's color. If not given, a random color will be assigned.

color?: null | string

id

id - A unique identifier for the user. This should be the same across all devices and sessions.

id: string

name

optional

The user's display name. If not given, 'New User' will be shown.

name?: null | string

Prev
WebSocketMinimal
Next
UseSyncDemoOptions