setApiId(4)->setApiHash('014b35b6184100b085b0d0572f9b5103'); $test = new API('/tmp/handshake_'.random_int(0, PHP_INT_MAX).'.madeline', $settings); var_dump($test->help->getConfig([], ['datacenter' => 4])); $test->logout();