telegram api method · layer 133 · #812c2ae6
messages.getStatsURL
Returns URL with the chat statistics. Currently this method can be used only for channels
not in the latest layer 229: last defined in layer 133
definition
messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
dark | true | Pass true if a URL with the dark theme must be returned |
peer | InputPeer | Chat identifier |
params | string | Parameters from tg://statsrefresh?params=****** link |
returns
errors (1)
| code | error | description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
history
present in layers 91–109, 111, 113–115, 117–123, 125–126, 128–131, 133 · constructor id changed 1×
| id | layers |
|---|---|
| #83f6c0cd | 91–95 |
| #812c2ae6 | 96–109 |
| #812c2ae6 | 111 |
| #812c2ae6 | 113–115 |
| #812c2ae6 | 117–123 |
| #812c2ae6 | 125–126 |
| #812c2ae6 | 128–131 |
| #812c2ae6 | 133 |