mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
31 lines
1011 B
Markdown
31 lines
1011 B
Markdown
---
|
|
title: "storiesStealthMode"
|
|
description: "Information about the current stealth mode session."
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: storiesStealthMode
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Information about the current [stealth mode](https://core.telegram.org/api/stories#stealth-mode) session.
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|active\_until\_date|[int](/API_docs/types/int.html) | Optional|The date up to which stealth mode will be active.|
|
|
|cooldown\_until\_date|[int](/API_docs/types/int.html) | Optional|The date starting from which the user will be allowed to re-enable stealth mode again.|
|
|
|
|
|
|
|
|
### Type: [StoriesStealthMode](/API_docs/types/StoriesStealthMode.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$storiesStealthMode = ['_' => 'storiesStealthMode', 'active_until_date' => int, 'cooldown_until_date' => int];
|
|
```
|