Layer 227
StoriesActivateStealthMode
Activates stories stealth mode, see here for more info.
method
Users
stories.activateStealthMode#57bbd166 flags:# past:flags.0?true future:flags.1?true = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Past | flags .0? true | Whether to erase views from any stories opened in the past stories_stealth_past_period seconds, as specified by the client configuration. |
| Future | flags .1? true | Whether to hide future story views for the next stories_stealth_future_period seconds, as specified by the client configuration. |
Returns
UpdatesGogram Example
// StoriesActivateStealthMode - positional arguments result, err := client.StoriesActivateStealthMode(nil, nil) if err != nil { // handle error } // result is *tg.Updates
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PREMIUM_ACCOUNT_REQUIRED | A premium account is required to execute this action. |