Layer 220
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 |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| 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
UpdatesPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PREMIUM_ACCOUNT_REQUIRED | A premium account is required to execute this action. |
Gogram Example
// StoriesActivateStealthMode - using Params struct result, err := client.StoriesActivateStealthMode(&tg.StoriesActivateStealthModeParams{ // Optional fields: // Past: true, // Future: true, }) if err != nil { // handle error } // result is *tg.Updates