DeleteSupergroup
public struct DeleteSupergroup : Codable, Equatable, TDFunction
Deletes a supergroup or channel along with all messages in the corresponding chat. This will release the supergroup or channel username and remove all members; requires owner privileges in the supergroup or channel. Chats with more than 1000 members can’t be deleted using this method
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Identifier of the supergroup or channel
Declaration
Swift
public let supergroupId: Int32
-
Deletes a supergroup or channel along with all messages in the corresponding chat. This will release the supergroup or channel username and remove all members; requires owner privileges in the supergroup or channel. Chats with more than 1000 members can’t be deleted using this method
Declaration
Swift
public init(supergroupId: Int32)
Parameters
supergroupId
Identifier of the supergroup or channel