Layer 220
PendingSuggestion
Represents a custom pending suggestion.
constructor
pendingSuggestion#e7e82e12 suggestion:string title:TextWithEntities description:TextWithEntities url:string = PendingSuggestion;
Parameters
| Name | Type | Description |
|---|---|---|
| Suggestion | string | The suggestion ID, can be passed to help. dismiss Suggestion. |
| Title | TextWithEntities | Title of the suggestion. |
| Description | TextWithEntities | Body of the suggestion. |
| Url | string | URL to open when the user clicks on the suggestion. |
Returns
PendingSuggestionGogram Example
// Creating PendingSuggestion constructor obj := &tg.PendingSuggestion{ Suggestion: "...", Title: &tg.TextWithEntities{}, Description: &tg.TextWithEntities{}, Url: "...", }