help.dismissSuggestion
Dismiss a suggestion, see here for more info ».
func (c *Client) HelpDismissSuggestion(ctx context.Context, request *HelpDismissSuggestionRequest) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.HelpDismissSuggestion(ctx, &tg.HelpDismissSuggestionRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Peer | InputPeerClass | yes | In the case of pending suggestions in channels, the channel ID. |
Suggestion | string | yes | Suggestion, see here for more info ». |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
help.dismissSuggestion#f50dbaa1