InteractionInputBuilder.withDynamicLoading
Method
interface InteractionInputBuilder { // ... omitted for brevity withDynamicLoading(callback: (arg: InteractionInputLoadContext) => Promise<void>, options?: DynamicLoadingOptions): InteractionInputBuilder;}Signature
method
withDynamicLoadingAttaches a callback that dynamically loads or updates the input after the prompt starts.
withDynamicLoading(callback: (arg: InteractionInputLoadContext) => Promise<void>, options?: DynamicLoadingOptions): InteractionInputBuilderParameters
callback(arg: InteractionInputLoadContext) => Promise<void>optionsDynamicLoadingOptionsoptionalReturns
InteractionInputBuilderDefined on
This method is defined on the following type: