public function updateTextBatch(
        $batchId, Api\MtBatchTextSmsUpdate $batch
    ) {
        $json = Serialize::textBatchUpdate($batch);
        $result = $this->_post($this->_batchUrl($batchId), $json);
        return Deserialize::batchResponse($result);
    }
public function updateTextBatch(
        $batchId, Api\MtBatchTextSmsUpdate $batch
    ) {
        $json = Serialize::textBatchUpdate($batch);
        $result = $this->_post($this->_batchUrl($batchId), $json);
        return Deserialize::batchResponse($result);
    }
public function updateTextBatch ( $ batchId , Api \ MtBatchTextSmsUpdate $ batch ) { $ json = Serialize :: textBatchUpdate ( $ batch ) ; $ result = $ this -> _post ( $ this -> _batchUrl ( $ batchId ) , $ json ) ; return Deserialize :: batchResponse ( $ result ) ; }
Updates the text batch with the given identifier.

@param string                   $batchId identifier of the batch
@param Api\MtBatchTextSmsUpdate $batch   the update description

@return Api\MtBatchTextSmsResult the updated batch
Updates the text batch with the given identifier .