public function createBinaryBatch(Api\MtBatchBinarySmsCreate $batch)
    {
        $json = Serialize::binaryBatch($batch);
        $result = $this->_post($this->_url('/batches'), $json);
        return Deserialize::batchResponse($result);
    }
public function createBinaryBatch(Api\MtBatchBinarySmsCreate $batch)
    {
        $json = Serialize::binaryBatch($batch);
        $result = $this->_post($this->_url('/batches'), $json);
        return Deserialize::batchResponse($result);
    }
public function createBinaryBatch ( Api \ MtBatchBinarySmsCreate $ batch ) { $ json = Serialize :: binaryBatch ( $ batch ) ; $ result = $ this -> _post ( $ this -> _url ( '/batches' ) , $ json ) ; return Deserialize :: batchResponse ( $ result ) ; }
Creates a new binary batch.

The binary batch will be created as described in the given
object.

@param Api\MtBatchBinarySmsCreate $batch the batch description

@return Api\MtBatchBinarySmsResult the creation result
Creates a new binary batch .