Skip to main content

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

NameTypeRequiredDescription
HiddenboolyesWhether to hide or unhide all active stories of the peer

Returns

bool

References