public function answerShippingQuery(bool $ok = true, string $error = null, array $shipping_options) {
        if (!isset($this->_shipping_query_id)) {
            throw new BotException('Callback query ID not set, wrong update');
        }

        $parameters = [
            'shipping_query_id' => $this->_shipping_query_id,
            'ok' => $ok,
            'error_message' => $error,
            'shipping_options' => $this->generateShippingOptions($shipping_options)
        ];

        return $this->execRequest('answerShippingQuery?' . http_build_query($parameters));
    }