stories.activateStealthMode

Activates stories stealth mode, see here » for more info.

Will return an updateStoriesStealthMode.

 Method schema is available as of layer 161. Switch »

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.

Result

Updates

Possible errors

Code Type Description
400 PREMIUM_ACCOUNT_REQUIRED A premium account is required to execute this action.

Related pages

Client configuration

The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.

Stories

Telegram users and channels can easily post and view stories through the API.

updateStoriesStealthMode

Indicates that stories stealth mode was activated.