InteractionResource
Documentation / @discordeno/bot / InteractionResource
Interface: InteractionResource
Defined in: bot/src/transformers/types.ts:992
Properties
activityInstance?
optional
activityInstance:DiscordActivityInstanceResource
Defined in: bot/src/transformers/types.ts:1000
Represents the Activity launched by this interaction.
Remarks
Only present if type is LAUNCH_ACTIVITY
.
message?
optional
message:Message
Defined in: bot/src/transformers/types.ts:1007
Message created by the interaction.
Remarks
Only present if type is either CHANNEL_MESSAGE_WITH_SOURCE
or UPDATE_MESSAGE
.
type
type:
InteractionResponseTypes
Defined in: bot/src/transformers/types.ts:993