MadelineProtoDocs/old_docs/API_docs_v43/constructors/statsGraphAsync.md

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'}