DiscordInteractionResource
Documentation / @discordeno/bot / DiscordInteractionResource
Interface: DiscordInteractionResource
Defined in: packages/types/dist/types/discord/interactions.d.ts:199
Properties
activity_instance?
optional
activity_instance:DiscordActivityInstanceResource
Defined in: packages/types/dist/types/discord/interactions.d.ts:207
Represents the Activity launched by this interaction.
Remarks
Only present if type is LAUNCH_ACTIVITY
.
message?
optional
message:DiscordMessage
Defined in: packages/types/dist/types/discord/interactions.d.ts:214
Message created by the interaction.
Remarks
Only present if type is either CHANNEL_MESSAGE_WITH_SOURCE
or UPDATE_MESSAGE
.
type
type:
InteractionResponseTypes
Defined in: packages/types/dist/types/discord/interactions.d.ts:200