MadelineProtoDocs/old_docs/API_docs_v41/constructors/statsGraphAsync.md
2020-06-16 17:50:25 +02:00

1.0 KiB

title description image
statsGraphAsync This [channel statistics graph](https://core.telegram.org/api/stats) must be generated asynchronously using [stats.loadAsyncGraph](../methods/stats.loadAsyncGraph.md) to reduce server load https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: statsGraphAsync

Back to constructors index

This channel statistics graph must be generated asynchronously using stats.loadAsyncGraph to reduce server load

Attributes:

Name Type Required Description
token string Yes Token to use for fetching the async graph

Type: StatsGraph

Example:

$statsGraphAsync = ['_' => 'statsGraphAsync', 'token' => 'string'];

Or, if you're into Lua:

statsGraphAsync={_='statsGraphAsync', token='string'}