telegram api method · layer 229 · #621d5fa0
stats.loadAsyncGraph
Load channel statistics graph asynchronously
definition
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 statsGraphAsync constructor |
x | long | Zoom value, if required |
returns
errors (5)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 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.getBroadcastStats. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 111–229
| id | layers |
|---|---|
| #621d5fa0 | 111–229 |