src/Params.php
private function validateAndSetBotParamsExtra(array $params)
    {
        foreach (self::$valid_extra_bot_params as $extra_key) {
            if (!array_key_exists($extra_key, $params)) {
                continue;
            }

            $this->bot_params[$extra_key] = $params[$extra_key];
        }
    }
private function validateAndSetBotParamsExtra(array $params)
    {
        foreach (self::$valid_extra_bot_params as $extra_key) {
            if (!array_key_exists($extra_key, $params)) {
                continue;
            }

            $this->bot_params[$extra_key] = $params[$extra_key];
        }
    }
private function validateAndSetBotParamsExtra ( array $ params ) { foreach ( self :: $ valid_extra_bot_params as $ extra_key ) { if ( ! array_key_exists ( $ extra_key , $ params ) ) { continue ; } $ this -> bot_params [ $ extra_key ] = $ params [ $ extra_key ] ; } }
Set all extra params.

@param array $params
Set all extra params .