stories.toggleAllStoriesHidden
Hide the active stories of a specific peer, preventing them from being displayed on the action bar on the homescreen.
func (c *Client) StoriesToggleAllStoriesHidden(ctx context.Context, hidden bool) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.StoriesToggleAllStoriesHidden(ctx, hidden)
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Hidden | bool | yes | Whether to hide or unhide all active stories of the peer |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
stories.toggleAllStoriesHidden#7c2557c4