public function send($mobileNumber, $message, $messageId = null)
    {
        return $this->sendAsync($mobileNumber, $message, $messageId)
        ->then(
            function (ResponseInterface $response) {
                return new SentResponse($response, $this->requestForm);
            },
            function ($exception) {
                return $this->throwError($exception);
            }
        )->wait();
    }
public function send($mobileNumber, $message, $messageId = null)
    {
        return $this->sendAsync($mobileNumber, $message, $messageId)
        ->then(
            function (ResponseInterface $response) {
                return new SentResponse($response, $this->requestForm);
            },
            function ($exception) {
                return $this->throwError($exception);
            }
        )->wait();
    }
public function send ( $ mobileNumber , $ message , $ messageId = null ) { return $ this -> sendAsync ( $ mobileNumber , $ message , $ messageId ) -> then ( function ( ResponseInterface $ response ) { return new SentResponse ( $ response , $ this -> requestForm ) ; } , function ( $ exception ) { return $ this -> throwError ( $ exception ) ; } ) -> wait ( ) ; }
Send a message immediately.

@param  string $mobileNumber
@param  string $message
@param  string $messageId

@throws inherits \Jag\Chikka\Exceptions\Exception

@return \Jag\Chikka\Responses\SentResponse
Send a message immediately .