Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PresenceActivityAssets

Presence Activity Assets Structure, used in [PresenceActivity]

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysPresenceActivityAssets

_keysMerge

_keysMerge: BaseSet<string> = keysMergePresenceActivityAssets

activity

client

client: ShardClient

Optional largeImage

largeImage: undefined | string

Optional largeText

largeText: undefined | string

Optional smallImage

smallImage: undefined | string

Optional smallText

smallText: undefined | string

Accessors

imageUrl

  • get imageUrl(): null | string
  • Returns null | string

largeImageUrl

  • get largeImageUrl(): null | string
  • Returns null | string

shardId

  • get shardId(): number
  • Returns number

smallImageUrl

  • get smallImageUrl(): null | string
  • Returns null | string

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

imageUrlFormat

  • imageUrlFormat(format?: null | string, query?: UrlQuery, hash?: null | string): null | string
  • Parameters

    • Optional format: null | string
    • Optional query: UrlQuery
    • Optional hash: null | string

    Returns null | string

largeImageUrlFormat

  • largeImageUrlFormat(format?: null | string, query?: UrlQuery): null | string
  • Parameters

    • Optional format: null | string
    • Optional query: UrlQuery

    Returns null | string

merge

mergeValue

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

    • key: string
    • value: any

    Returns void

smallImageUrlFormat

  • smallImageUrlFormat(format?: null | string, query?: UrlQuery): null | string
  • Parameters

    • Optional format: null | string
    • Optional query: UrlQuery

    Returns null | string

toJSON

  • toJSON(): object
  • Returns object

Generated using TypeDoc