STSChat
@interface STSChat : NSObject
Chat room model
-
Input mode of chat.
Declaration
Objective-C
@property (nonatomic, readonly) STSChatInputMode mode;Swift
var mode: STSChatInputMode { get } -
Chatroom name.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull chatroomName;Swift
var chatroomName: String { get } -
The status of chat.
Declaration
Objective-C
@property (nonatomic, readonly) STSChatStatus status;Swift
var status: STSChatStatus { get } -
The current user object in this chat.
Declaration
Objective-C
@property (nonatomic, readonly) STSChatUser *_Nonnull currentUser;Swift
var currentUser: STSChatUser { get } -
Total user number of this chat.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger userCount;Swift
var userCount: Int { get } -
Total total aggregated items contain all of the aggregated items that a chatroom have. The count property in each STSAggregatedItem indicates how many times this aggregated item key being sent.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<STSAggregatedItem *> *_Nonnull totalAggregatedItems;Swift
var totalAggregatedItems: [STSAggregatedItem] { get } -
The chat stickers.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<STSChatSticker *> *_Nonnull stickers;Swift
var stickers: [STSChatSticker] { get } -
Using new to create a STSChat instance is unavailable.
Declaration
Objective-C
+ (nonnull instancetype)new; -
Using init to create a STSChat instance is unavailable.
Declaration
Objective-C
- (nonnull instancetype)init;
View on GitHub
Install in Dash
STSChat Class Reference