MadelineProtoDocs/old_docs/API_docs_v42/constructors/statsDateRangeDays.md

40 lines
868 B
Markdown
Raw Normal View History

2020-09-12 12:47:38 +02:00
---
title: statsDateRangeDays
description: [Channel statistics](https://core.telegram.org/api/stats) date range
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: statsDateRangeDays
[Back to constructors index](index.md)
[Channel statistics](https://core.telegram.org/api/stats) date range
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|min\_date|[int](../types/int.md) | Yes|Initial date|
|max\_date|[int](../types/int.md) | Yes|Final date|
### Type: [StatsDateRangeDays](../types/StatsDateRangeDays.md)
### Example:
```php
$statsDateRangeDays = ['_' => 'statsDateRangeDays', 'min_date' => int, 'max_date' => int];
```
Or, if you're into Lua:
```lua
statsDateRangeDays={_='statsDateRangeDays', min_date=int, max_date=int}
```