STSChatUser

@interface STSChatUser : LHDataObject

Chat room user model

  • Unique identifier of chat room user. Users are identifying and comparing using this attribute. (NSObject method isEqual: and hash are 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 }
  • 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!()