public function sendSmsByList(array $phones, array $params, array $additionalParams)
    {
        $data = [
            'phones' => json_encode($phones)
        ];

        $data = array_merge($data, $params);

        if ($additionalParams) {
            $data = array_merge($data, $additionalParams);
        }

        $requestResult = $this->sendRequest('/sms/send', 'POST', $data);

        return $this->handleResult($requestResult);
    }
public function sendSmsByList(array $phones, array $params, array $additionalParams)
    {
        $data = [
            'phones' => json_encode($phones)
        ];

        $data = array_merge($data, $params);

        if ($additionalParams) {
            $data = array_merge($data, $additionalParams);
        }

        $requestResult = $this->sendRequest('/sms/send', 'POST', $data);

        return $this->handleResult($requestResult);
    }
public function sendSmsByList ( array $ phones , array $ params , array $ additionalParams ) { $ data = [ 'phones' => json_encode ( $ phones ) ] ; $ data = array_merge ( $ data , $ params ) ; if ( $ additionalParams ) { $ data = array_merge ( $ data , $ additionalParams ) ; } $ requestResult = $ this -> sendRequest ( '/sms/send' , 'POST' , $ data ) ; return $ this -> handleResult ( $ requestResult ) ; }
Create sms campaign based on list

@param $phones
@param array $params
@param array $additionalParams
@return stdClass
Create sms campaign based on list