Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ClientUser

Extends a regular User, but email is available.

Hierarchy

Index

Constructors

  • new ClientUser(avatar: null | FileInformation, displayName: string, username: string, description: string, verified: boolean, email: string): ClientUser

Properties

#avatar: null | FileInformation
#description: string
#displayName: string
#email: string
#username: string
#verified: boolean

Accessors

  • get description(): string
  • Description of the user. Up to 2048 characters in length, may be empty.

    Returns string

  • get displayName(): string
  • Display name of the user. May be any Unicode sequence up to 50 characters total.

    Returns string

  • get email(): string
  • get username(): string
  • Username of the user. Alphanumeric, from 3 up to 50 characters total.

    Returns string

  • get verified(): boolean
  • Boolean value that is true if the user is marked as a verified user.

    Returns boolean

Methods

Generated using TypeDoc