STSChatInputMode
enum STSChatInputMode {}
StraaS.io chat room support user privilege control. Each input mode has different chat ability limitation depends on user’s role.
-
Mode undefined, it should not happen.
Declaration
Objective-C
STSChatInputUndefinedSwift
case undefined = 0 -
Normal mode, every user can chat.
Declaration
Objective-C
STSChatInputNormalSwift
case normal = 1 -
Member-only mode, guest can not send message in this mode.
Declaration
Objective-C
STSChatInputMemberSwift
case member = 2 -
Master mode, only the master of channel can send message.
Declaration
Objective-C
STSChatInputMasterSwift
case master = 3
View on GitHub
Install in Dash
STSChatInputMode Enum Reference