libtd-ktx / kotlinx.telegram.extensions / ChatKtx / getStatisticsUrl
getStatisticsUrl
open suspend fun
Chat
.getStatisticsUrl(parameters:
String
?, isDark:
Boolean
):
HttpUrl
Suspend function, which returns an HTTP URL with the chat statistics. Currently this method can be used only for channels. Can be used only if SupergroupFullInfo.canViewStatistics == true.
Parameters
parameters
- Parameters from "tg://statsrefresh?params=**" link.
isDark
- Pass true if a URL with the dark theme must be returned.
Return TdApi.HttpUrl Contains an HTTP URL.