Skip to content

PluginSuggestionComponentConstructorParams.setSuggestionDeclined method

PluginSuggestionComponentConstructorParams › setSuggestionDeclined

Records the user's answer to the suggestion.

Signature:

setSuggestionDeclined(this: void, isDeclined: boolean): Promisable<void>

Parameters:

ParameterTypeDescription
thisvoid
isDeclinedbooleantrue when the user declined.

Returns: Promisable<void>A Promise that resolves once the answer is persisted.