Class SPXUser
@class SPXUser : NSObject;
User representation in the conversation type of scenarios.
Added in version 1.13.0.
Gets the User instance from the specified user id.
- (instancetype _Nullable)initFromUserId:(NSString * _Nonnull)userId
userId
- The user's id.
The User instance.
Gets the User instance from the specified user id.
- (instancetype _Nullable)initFromUserId:(NSString * _Nonnull)userId
error:(NSError * _Nullable * _Nullable)outError
userId
- The user's id.outError
- error information.
The User instance.
@property (readwrite, copy, nonatomic) NSString * _Nullable userId;
User ID in the conversation session.