Layer 220
method Users
stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Token string Graph token from stats Graph Async constructor
X flags.0?long Zoom value, if required

Returns

StatsGraph

Possible Errors

Code Type Description
400 GRAPH_EXPIRED_RELOAD This graph has expired, please obtain a new graph token.
400 GRAPH_INVALID_RELOAD Invalid graph token provided, please reload the stats and provide the updated token.
400 GRAPH_OUTDATED_RELOAD The graph is outdated, please get a new async token using stats. get Broadcast Stats.

Gogram Example

// StatsLoadAsyncGraph - using Params struct
result, err := client.StatsLoadAsyncGraph(&tg.StatsLoadAsyncGraphParams{
    Token: "...",

    // Optional fields:
    // X: int64(0),
})
if err != nil {
    // handle error
}
// result is *tg.StatsGraph