ConversationType

@objc
enum ConversationType

The type of a conversation. It mainly refers to the initialization of the conversation

  • Chat conversation

    Declaration

    Swift

    case chatRequest
  • Chat conversation which is started while no agent was available

    Declaration

    Swift

    case offlineChatRequest
  • Conversation which directly starts a video call

    Declaration

    Swift

    case videoRequest
  • Conversation which directly starts an audio call

    Declaration

    Swift

    case audioRequest
  • Conversation which directly starts mobile co-browsing

    Declaration

    Swift

    case mobileCobrowsingRequest
  • Starts a universal co-browsing conversation

    Declaration

    Swift

    case universalCobrowsingRequest
  • Starts a visitor initiated co-browsing conversation. This is not added to a queue and other visitor’s can be invited to join.

    Declaration

    Swift

    case visitorCobrowsing
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional(PaperSize.Legal)"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: Int)

    Parameters

    rawValue

    The raw value to use for the new instance.