telegram api method · layer 229 · #57bbd166
stories.activateStealthMode
Activates stories stealth mode, see here » for more info.
definition
stories.activateStealthMode#57bbd166 flags:# past:flags.0?true future:flags.1?true = Updates;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
past | true | Whether to erase views from any stories opened in the past stories_stealth_past_period seconds », as specified by the client configuration. |
future | true | Whether to hide future story views for the next stories_stealth_future_period seconds », as specified by the client configuration. |
returns
errors (3)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | PREMIUM_ACCOUNT_REQUIRED | A premium account is required to execute this action. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 161–229
| id | layers |
|---|---|
| #57bbd166 | 161–229 |