                 resFrom: -200,
                 threadKey: threadKey)
         case .text(let text):
-            let result = processMessageSocketTimeShiftTextEvent(text: text)
+            let result = processTimeShiftMessageSocketTextEvent(text: text)
             switch result {
             case .pingContentStart:
                 timeShiftChatCountIn1ThreadRequest = 0

        let socket = WebSocket(request: request)
        resetTimeShiftVariables()
        socket.onEvent = { [weak self] in
            self?.handleMessageSocketEventForTimeShift(
                socket: socket,
                event: $0,
                userId: userId,

    }

    // swiftlint:disable function_parameter_count function_body_length
    func handleTimeShiftMessageSocketEvent(socket: WebSocket, event: WebSocketEvent, userId: String, threadId: String, threadKey: String, completion: (Result<Void, NicoError>) -> Void) {
        // log.debug(event)
        switch event {
        case .connected:
