Constructor: pendingSuggestion
Represents a custom pending suggestion ».
Attributes:
Name | Type | Required | Description |
---|---|---|---|
suggestion | string | Yes | The suggestion ID, can be passed to help.dismissSuggestion. |
title | TextWithEntities | Yes | Title of the suggestion. |
description | TextWithEntities | Yes | Body of the suggestion. |
url | string | Yes | URL to open when the user clicks on the suggestion. |
Type: PendingSuggestion
Example:
$pendingSuggestion = ['_' => 'pendingSuggestion', 'suggestion' => 'string', 'title' => TextWithEntities, 'description' => TextWithEntities, 'url' => 'string'];