GetChatStatisticsUrl
public struct GetChatStatisticsUrl : Codable, Equatable, TDFunction
Returns an HTTP URL with the chat statistics. Currently this method can be used only for channels. Can be used only if SupergroupFullInfo.can_view_statistics == true
-
Undocumented
Declaration
Swift
public typealias Result = HttpUrl -
Chat identifier
Declaration
Swift
public let chatId: Int53 -
Parameters from “tg://statsrefresh?params=******” link
Declaration
Swift
public let parameters: String -
Pass true if a URL with the dark theme must be returned
Declaration
Swift
public let isDark: Bool -
Returns an HTTP URL with the chat statistics. Currently this method can be used only for channels. Can be used only if SupergroupFullInfo.can_view_statistics == true
Declaration
Swift
public init(chatId: Int53, parameters: String, isDark: Bool)Parameters
chatIdChat identifier
parametersParameters from “tg://statsrefresh?params=******” link
isDarkPass true if a URL with the dark theme must be returned
View on GitHub
Install in Dash
GetChatStatisticsUrl Structure Reference