messages.getStatsURL

Returns URL with the chat statistics. Currently this method can be used only for channels

{schema}

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.