PluginSuggestionComponentConstructorParams.setSuggestionDeclined method
PluginSuggestionComponentConstructorParams › setSuggestionDeclined
Records the user's answer to the suggestion.Signature:
setSuggestionDeclined(this: void, isDeclined: boolean): Promisable<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| this | void | |
| isDeclined | boolean | true when the user declined. |
Returns: Promisable<void> — A Promise that resolves once the answer is persisted.