Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConnectedAccount

Connected Account If from a user profile, it'll be partial

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysConnectedAccount

Optional accessToken

accessToken: undefined | string

client

client: ShardClient

Optional friendSync

friendSync: undefined | false | true

id

id: string = ""

Optional integrations

integrations: Array<any>

name

name: string = ""

Optional revoked

revoked: undefined | false | true

Optional showActivity

showActivity: undefined | false | true

type

verified

verified: boolean = false

Optional visibility

visibility: undefined | number

Accessors

key

  • get key(): string
  • Returns string

shardId

  • get shardId(): number
  • Returns number

Methods

[inspect.custom]

  • [inspect.custom](): object

_getFromSnake

  • _getFromSnake(key: string): any
  • Parameters

    • key: string

    Returns any

_setFromSnake

  • _setFromSnake(key: string, value: any): any
  • Parameters

    • key: string
    • value: any

    Returns any

difference

  • difference(key: string, value: any): [boolean, any]
  • Parameters

    • key: string
    • value: any

    Returns [boolean, any]

differences

merge

mergeValue

  • mergeValue(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

toJSON

  • toJSON(): object
  • Returns object

Generated using TypeDoc