Options
All
  • Public
  • Public/Protected
  • All
Menu

Embed Structure, used for [Message] Structures

Hierarchy

Index

Constructors

constructor

Properties

Readonly _keys

_keys: BaseSet<string> = ...

Optional author

Readonly client

client: ShardClient

Optional color

color: number

Optional description

description: string

Optional fields

Optional footer

Optional image

Optional provider

Optional referenceId

referenceId: string

Optional thumbnail

Optional timestamp

timestamp: Date

Optional title

title: string

type

type: MessageEmbedTypes = ...

Optional url

url: string

Optional video

Accessors

hasAttachment

  • get hasAttachment(): boolean

isApplicationNews

  • get isApplicationNews(): boolean

isArticle

  • get isArticle(): boolean

isClone

  • get isClone(): boolean

isGifV

  • get isGifV(): boolean

isImage

  • get isImage(): boolean

isLink

  • get isLink(): boolean

isRich

  • get isRich(): boolean

isTweet

  • get isTweet(): boolean

isVideo

  • get isVideo(): boolean

length

  • get length(): number

shardId

  • get shardId(): number

size

  • get size(): number

Methods

[custom]

  • [custom](): object

_getFromSnake

  • _getFromSnake(key: string): any

_setFromSnake

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

clone

difference

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

differences

differencesBetween

  • differencesBetween(structure: Structure): null | object

fetchApplicationNews

hasDifference

  • hasDifference(key: string, value: any): boolean

hasDifferences

hasDifferencesBetween

  • hasDifferencesBetween(structure: Structure): boolean

merge

mergeValue

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

toJSON

  • toJSON(): object

Generated using TypeDoc