Returns URL with the chat statistics. Currently this method can be used only for channels
statsURL#47a971e0 url:string = StatsURL;
---functions---
messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL;
Parameters
Name |
Type |
Description |
flags |
# |
Flags, see TL conditional fields |
dark |
flags.0?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 |
Result
StatsURL
Possible errors
Code |
Type |
Description |
400 |
PEER_ID_INVALID |
The provided peer id is invalid |