Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ComponentInteraction<T>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

acknowledged

acknowledged: boolean

Optional appPermissions

appPermissions: Permission

applicationID

applicationID: string

channel

channel: T

createdAt

createdAt: number

data

Optional guildID

guildID: string

id

id: string

Optional member

member: Member

message

token

token: string

type

type: 3

Optional user

user: User

version

version: number

Methods

acknowledge

  • acknowledge(): Promise<void>
  • Returns Promise<void>

createFollowup

createMessage

defer

  • defer(flags?: number): Promise<void>
  • Parameters

    • Optional flags: number

    Returns Promise<void>

deferUpdate

  • deferUpdate(): Promise<void>
  • Returns Promise<void>

deleteMessage

  • deleteMessage(messageID: string): Promise<void>
  • Parameters

    • messageID: string

    Returns Promise<void>

deleteOriginalMessage

  • deleteOriginalMessage(): Promise<void>
  • Returns Promise<void>

editMessage

editOriginalMessage

editParent

getOriginalMessage

inspect

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

toString

  • toString(): string
  • Returns string

Static from

Static getCreatedAt

  • getCreatedAt(id: string): number
  • Parameters

    • id: string

    Returns number

Static getDiscordEpoch

  • getDiscordEpoch(id: string): number

Generated using TypeDoc