Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TargetID<T>

Wrapped representation of Discord target object (target of context menu interactions)

Type parameters

Hierarchy

  • TargetID

Index

Constructors

Properties

Methods

Constructors

constructor

  • new TargetID<T>(id: string, type: T, interaction: Message | Interaction): TargetID<T>

Properties

Readonly id

id: string

Object ID

readonly

Readonly interaction

interaction: Message | Interaction

Interaction associated with the target

readonly

Private Readonly type

type: T

Target type

readonly

Methods

toObject

Generated using TypeDoc