Layer 227
StatsLoadAsyncGraph
Load channel statistics graph asynchronously
method
Users
stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph;
Parameters
| Name | Type | Description |
|---|---|---|
| Token | string | Graph token from stats Graph Async constructor |
| X | flags .0? long | Zoom value, if required |
Returns
StatsGraphGogram Example
// StatsLoadAsyncGraph - positional arguments result, err := client.StatsLoadAsyncGraph("Hello, World!", nil) if err != nil { // handle error } // result is *tg.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. |