Options
All
  • Public
  • Public/Protected
  • All
Menu

Utils Component Button Structure

Hierarchy

Index

Constructors

constructor

Properties

Readonly _keys

_keys: BaseSet<string> = ...

Optional customId

customId: null | string

Optional disabled

disabled: boolean

Optional emoji

emoji: null | ComponentEmojiData

Optional label

label: null | string

style

type

Optional url

url: null | string

Methods

[custom]

  • [custom](): object

_getFromSnake

  • _getFromSnake(key: string): any

_setFromSnake

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

difference

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

differences

differencesBetween

  • differencesBetween(structure: Structure): null | object

hasDifference

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

hasDifferences

hasDifferencesBetween

  • hasDifferencesBetween(structure: Structure): boolean

merge

mergeValue

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

Optional onError

Optional run

setCustomId

setDisabled

setEmoji

setLabel

setStyle

setUrl

toJSON

  • toJSON(): RawChannelMessageComponent

Generated using TypeDoc