Class StringSelectInteractionEvent

All Implemented Interfaces:
ISnowflake, GenericEvent, IDeferrableCallback, IMessageEditCallback, IModalCallback, IReplyCallback, ComponentInteraction, SelectMenuInteraction<String,StringSelectMenu>, StringSelectInteraction, Interaction

public class StringSelectInteractionEvent extends GenericSelectMenuInteractionEvent<String,StringSelectMenu> implements StringSelectInteraction
Indicates that a custom StringSelectMenu on one of the bots messages was used by a user.

This fires when a user selects the options on one of the custom select menus attached to a bot or webhook message. Use GenericSelectMenuInteractionEvent.getValues() or StringSelectInteraction.getSelectedOptions() to handle the selected options.

To receive these events, you must unset the Interactions Endpoint URL in your application dashboard. You can simply remove the URL for this endpoint in your settings at the Discord Developers Portal.

See Also: