help.hidePromoData
Hide MTProxy/Public Service Announcement information
func (c *Client) HelpHidePromoData(ctx context.Context, peer InputPeerClass) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.HelpHidePromoData(ctx, peer)
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Peer | InputPeerClass | yes | Peer to hide |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
help.hidePromoData#1e251c95