Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Member

Hierarchy

Implements

  • MemberInterface

Constructors

constructor

Properties

Readonly client

client: Client

Readonly group

group: BaseGroup

Readonly id

id: string

image_url

image_url: null | string

Readonly memberID

memberID: string

muted

muted: boolean

nickname

nickname: string

roles

roles: MemberRole[]

Readonly user

user: User

Accessors

canAddMembers

  • get canAddMembers(): boolean
  • Returns boolean

canDeleteGroup

  • get canDeleteGroup(): boolean
  • Returns boolean

canLeaveGroup

  • get canLeaveGroup(): boolean
  • Returns boolean

canRemoveMembers

  • get canRemoveMembers(): boolean
  • Returns boolean

canTransferGroup

  • get canTransferGroup(): boolean
  • Returns boolean

canUpdateGroup

  • get canUpdateGroup(): boolean
  • Returns boolean

isAdmin

  • get isAdmin(): boolean
  • Returns boolean

isOwner

  • get isOwner(): boolean
  • Returns boolean

Methods

_clone

  • _clone(): any
  • Returns any

_patch

  • _patch(data: Partial<APIMember>): Member
  • Parameters

    • data: Partial<APIMember>

    Returns Member

remove

  • Returns Promise<FormerMember>

Generated using TypeDoc