Interface IPremiumRequiredReplyCallback
- All Superinterfaces:
IDeferrableCallback
,Interaction
,ISnowflake
- All Known Subinterfaces:
ButtonInteraction
,CommandInteraction
,ComponentInteraction
,ContextInteraction<T>
,EntitySelectInteraction
,MessageContextInteraction
,SelectMenuInteraction<T,
,S> SlashCommandInteraction
,StringSelectInteraction
,UserContextInteraction
- All Known Implementing Classes:
ButtonInteractionEvent
,EntitySelectInteractionEvent
,GenericCommandInteractionEvent
,GenericComponentInteractionCreateEvent
,GenericContextInteractionEvent
,GenericSelectMenuInteractionEvent
,MessageContextInteractionEvent
,SlashCommandInteractionEvent
,StringSelectInteractionEvent
,UserContextInteractionEvent
Deprecated.
Replies with an in-built client message stating that an
Entitlement
is required.
Replying with replyWithPremiumRequired()
will automatically acknowledge this interaction.
Note:This interaction requires monetization to be enabled.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Replaced withButton.premium(SkuSnowflake)
, see the Discord change logs for more details.Methods inherited from interface net.dv8tion.jda.api.interactions.callbacks.IDeferrableCallback
getHook
Methods inherited from interface net.dv8tion.jda.api.interactions.Interaction
getChannel, getChannelId, getChannelIdLong, getChannelType, getEntitlements, getGuild, getGuildChannel, getGuildLocale, getJDA, getMember, getMessageChannel, getToken, getType, getTypeRaw, getUser, getUserLocale, isAcknowledged, isFromGuild
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
Method Details
-
replyWithPremiumRequired
Deprecated.Replaced withButton.premium(SkuSnowflake)
, see the Discord change logs for more details.
-
Button.premium(SkuSnowflake)
, see the Discord change logs for more details.