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
supergroupId
The identifier of the supergroup
isAllHistoryAvailable
The new value of is_all_history_available