Skip to main content

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​

NameTypeRequiredDescription
PeerInputPeerClassyesIn the case of pending suggestions in channels, the channel ID.
SuggestionstringyesSuggestion, see here for more info ».

Returns​

bool

References​