2020-04-03 14:11:09 +02:00
|
|
|
---
|
|
|
|
title: statsGraphError
|
2020-06-16 17:50:25 +02:00
|
|
|
description: An error occurred while generating the [statistics graph](https://core.telegram.org/api/stats)
|
2020-04-03 14:11:09 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: statsGraphError
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-06-16 17:50:25 +02:00
|
|
|
An error occurred while generating the [statistics graph](https://core.telegram.org/api/stats)
|
|
|
|
|
2020-04-03 14:11:09 +02:00
|
|
|
### Attributes:
|
|
|
|
|
2020-06-16 17:50:25 +02:00
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|error|[string](../types/string.md) | Yes|The error|
|
2020-04-03 14:11:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [StatsGraph](../types/StatsGraph.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$statsGraphError = ['_' => 'statsGraphError', 'error' => 'string'];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
statsGraphError={_='statsGraphError', error='string'}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|