getPayload()); return Str::startsWith($payload->event, 'pusher:') ? new PusherChannelProtocolMessage($payload, $connection, $channelManager) : new PusherClientMessage($payload, $connection, $channelManager); } }