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

    STSChatInputUndefined

    Swift

    case undefined = 0
  • Normal mode, every user can chat.

    Declaration

    Objective-C

    STSChatInputNormal

    Swift

    case normal = 1
  • Member-only mode, guest can not send message in this mode.

    Declaration

    Objective-C

    STSChatInputMember

    Swift

    case member = 2
  • Master mode, only the master of channel can send message.

    Declaration

    Objective-C

    STSChatInputMaster

    Swift

    case master = 3