resolve
open fun resolve(option: ComponentOption, event: GenericComponentInteractionCreateEvent, data: SerializedComponentData): R?(source)
Returns a resolved object from this component interaction.
If this returns null
, and the parameter is required, i.e., not nullable or optional, the handler is ignored, but the interaction must be acknowledged.
Parameters
option
The option currently being resolved
event
The corresponding event
data
A serialized representation of an argument passed in IPersistentActionableComponent.bindTo