Skip to main content

Class: ChatInputInteractionOptions

Hierarchy

  • Base

    ChatInputInteractionOptions

Constructors

constructor

new ChatInputInteractionOptions(app, interaction)

Parameters

NameType
appApp
interactionChatInputInteraction

Overrides

Base.constructor

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:11

Properties

app

app: App

Inherited from

Base.app

Defined in

packages/disploy/src/structs/Base.ts:4


interaction

Private interaction: ChatInputInteraction

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:11

Methods

getNumber

getNumber(key): number

Parameters

NameType
keystring

Returns

number

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:31

getNumber(key, nullable?): undefined | number

Parameters

NameType
keystring
nullable?boolean

Returns

undefined | number

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:32


getString

getString(key): string

Parameters

NameType
keystring

Returns

string

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:25

getString(key, nullable?): undefined | string

Parameters

NameType
keystring
nullable?boolean

Returns

undefined | string

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:26


getValue

Private getValue<T>(key, nullable): undefined | T

Type parameters

NameType
Textends APIApplicationCommandInteractionDataOption

Parameters

NameType
keystring
nullableboolean

Returns

undefined | T

Defined in

packages/disploy/src/structs/ChatInputInteractionOptions.ts:15