PrivateUser
public class PrivateUser : User
Describe a private user object.
-
Private properties. These properties are not accessible to other users.
Declaration
Swift
public internal(set) var privateProperties: [String : String] { get }
-
Ban information if user is banned.
Declaration
Swift
public internal(set) var banInfo: BanInfo? { get set }
-
Shows if user is banned or not.
Declaration
Swift
public var isBanned: Bool { get }
-
Description.
Declaration
Swift
public override var description: String { get }
-
Check if user object equal to another user object.
Declaration
Swift
override public func isEqual(_ object: Any?) -> Bool
Parameters
object
Other user object.
Return Value
true
if they equal, otherwisefalse
. -
Declaration
Swift
override public func encode(to encoder: Encoder) throws