STSChatUser
@interface STSChatUser : LHDataObject
Chat room user model
-
Unique identifier of chat room user. Users are identifying and comparing using this attribute. (
NSObjectmethodisEqual:andhashare implemented).Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *label;Swift
var label: UnsafeMutablePointer<Int32>? { get } -
Guest nickname or member name.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *name;Swift
var name: UnsafeMutablePointer<Int32>? { get } -
Chat room member avatar
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *avatar;Swift
var avatar: UnsafeMutablePointer<Int32>? { get } -
When user info was updated.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *updatedDate;Swift
var updatedDate: UnsafeMutablePointer<Int32>? { get } -
User’s role. Get more informations in the following link. https://github.com/StraaS/StraaS-web-document/wiki/Messaging-Service#roles-of-messaging-service
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *role;Swift
var role: UnsafeMutablePointer<Int32>? { get } -
Using new to create a STSChatUser instance is unavailable.
Declaration
Objective-C
+ (nonnull instancetype)new;Swift
class func new() -> Self! -
Using init to create a STSChatUser instance is unavailable.
Declaration
Objective-C
- (nonnull instancetype)init;Swift
init!()
View on GitHub
Install in Dash
STSChatUser Class Reference