ToggleSupergroupIsAllHistoryAvailable
public struct ToggleSupergroupIsAllHistoryAvailable : Codable, Equatable, TDFunction
Toggles whether the message history of a supergroup is available to new members; requires can_change_info rights
-
Undocumented
Declaration
Swift
public typealias Result = Ok -
The identifier of the supergroup
Declaration
Swift
public let supergroupId: Int32 -
The new value of is_all_history_available
Declaration
Swift
public let isAllHistoryAvailable: Bool -
Toggles whether the message history of a supergroup is available to new members; requires can_change_info rights
Declaration
Swift
public init(supergroupId: Int32, isAllHistoryAvailable: Bool)Parameters
supergroupIdThe identifier of the supergroup
isAllHistoryAvailableThe new value of is_all_history_available
View on GitHub
Install in Dash
ToggleSupergroupIsAllHistoryAvailable Structure Reference