Class MessageComponentInteraction<Cached>

Type Parameters

Hierarchy

Constructors

Properties

appPermissions: Readonly<PermissionsBitField>
applicationId: string
channelId: string
client: Client<true>
customId: string
deferred: boolean
entitlements: Collection<string, Entitlement>
ephemeral: null | boolean
guildId: CacheTypeReducer<Cached, string, string, string, null | string>
guildLocale: CacheTypeReducer<Cached, Locale, Locale, Locale, null | Locale>
id: string
locale: Locale
memberPermissions: CacheTypeReducer<Cached, Readonly<PermissionsBitField>, Readonly<PermissionsBitField>, Readonly<PermissionsBitField>, null | Readonly<PermissionsBitField>>
message: Message<BooleanCache<Cached>>
replied: boolean
token: string
user: User
version: number

Accessors

  • get createdAt(): Date
  • Returns Date

  • get createdTimestamp(): number
  • Returns number

Methods

  • Parameters

    Returns Promise<void>

  • Parameters

    • Optional message: string

    Returns Promise<Message<BooleanCache<Cached>>>

  • Returns Promise<void>

    Deprecated

    Sending a premium-style button is the new Discord behaviour.

  • Parameters

    • Rest ...props: Record<string, string | boolean>[]

    Returns unknown

  • Returns string

Generated using TypeDoc