Account
@objc(ZDKChatAccount)
public final class Account : NSObject, InitialStateProtocol, ReflectedStringConvertible
The ZDKChatAccount model stores information about the chat account,
such as the current accountStatus and the list of Departments associated with the account
-
The current status of the
AccountDeclaration
Swift
@objc public let accountStatus: AccountStatus -
[Department]in the chat instanceDeclaration
Swift
@objc public let departments: [Department]? -
Returns a Boolean value that indicates whether the receiver and a given object are equal.
Declaration
Swift
@objc override public func isEqual(_ object: Any?) -> BoolParameters
objectthe object to compare against
-
Declaration
Swift
@objc public func containsDepartment(with name: String) -> BoolReturn Value
Trueif department with given name exists
Install in Dash
Account Class Reference