public function answerShippingQuery($shippingQueryId, $ok = true, $shipping_options = [], $errorMessage = null)
    {
        return $this->call('answerShippingQuery', [
            'shipping_query_id' => $shippingQueryId,
            'ok' => (bool)$ok,
            'shipping_options' => json_encode($shipping_options),
            'error_message' => $errorMessage
        ]);
    }
public function answerShippingQuery($shippingQueryId, $ok = true, $shipping_options = [], $errorMessage = null)
    {
        return $this->call('answerShippingQuery', [
            'shipping_query_id' => $shippingQueryId,
            'ok' => (bool)$ok,
            'shipping_options' => json_encode($shipping_options),
            'error_message' => $errorMessage
        ]);
    }
public function answerShippingQuery ( $ shippingQueryId , $ ok = true , $ shipping_options = [ ] , $ errorMessage = null ) { return $ this -> call ( 'answerShippingQuery' , [ 'shipping_query_id' => $ shippingQueryId , 'ok' => ( bool ) $ ok , 'shipping_options' => json_encode ( $ shipping_options ) , 'error_message' => $ errorMessage ] ) ; }
If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API
will send an Update with a shipping_query field to the bot. Use this method to reply to shipping queries.
On success, True is returned.

@param string $shippingQueryId
@param bool $ok
@param array $shipping_options
@param null|string $errorMessage

@return bool
If you sent an invoice requesting a shipping address and the parameter is_flexible was specified the Bot API will send an Update with a shipping_query field to the bot . Use this method to reply to shipping queries . On success True is returned .