Skip to main content

InteractionResource

@discordeno/botDocs


Documentation / @discordeno/bot / InteractionResource

Interface: InteractionResource

Properties

activityInstance?

optional activityInstance: DiscordActivityInstanceResource

Represents the Activity launched by this interaction.

Remarks

Only present if type is LAUNCH_ACTIVITY.

Defined in

packages/bot/src/transformers/types.ts:939


message?

optional message: Message

Message created by the interaction.

Remarks

Only present if type is either CHANNEL_MESSAGE_WITH_SOURCE or UPDATE_MESSAGE.

Defined in

packages/bot/src/transformers/types.ts:946


type

type: InteractionResponseTypes

Defined in

packages/bot/src/transformers/types.ts:932