messages.getStatsURL
Returns URL with the chat statistics. Currently this method can be used only for channels
Example
TL schema
Parameters
Name | Type | Description |
flags | Flags, see TL conditional fields | |
dark | Pass true if a URL with the dark theme must be returned | |
peer | Chat identifier | |
params | Parameters from tg://statsrefresh?params=** link |
Result
Possible errors
Code | Type | Description |
400 | PEER_ID_INVALID | The provided peer id is invalid |
Can bots use this methd ?
yes
Related pages
Last updated