CheckCreatedPublicChatsLimit
public struct CheckCreatedPublicChatsLimit : Codable, Equatable, TDFunction
Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Type of the public chats, for which to check the limit
Declaration
Swift
public let type: PublicChatType
-
Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached
Declaration
Swift
public init(type: PublicChatType)
Parameters
type
Type of the public chats, for which to check the limit