Layer 220
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.

Gogram Example

// Creating PendingSuggestion constructor
obj := &tg.PendingSuggestion{
    Suggestion: "...",
    Title: &tg.TextWithEntities{},
    Description: &tg.TextWithEntities{},
    Url: "...",
}