             parameters["limit"] = limit
         }
         if let types = types {
-            parameters["types"] = types.joined(separator: ",")
+            parameters["types"] = types.map({ $0.rawValue }).joined(separator: ",")
         }
         networkInterface.request(.conversationsList, parameters: parameters, successClosure: {(response) in
             success?(response["channels"] as? [[String: Any]])


    fileprivate enum ChannelType: String {
        case channel, group, im
    }

    fileprivate let networkInterface: NetworkInterface

        excludeArchived: Bool = false,
        cursor: String? = nil,
        limit: Int? = nil,
        types: [ConversationType]? = nil,
        success: ((_ channels: [[String: Any]]?) -> Void)?,
        failure: FailureClosure?
    ) {
