Example #1
0
 /**
  * Use this to send a SMS.
  *
  * @param string $to        Destination number
  * @param string $msg       SMS message
  * @param string $senderID  Sender ID (you need to request from Hoiio for this feature)
  * @param string $tag       Your own reference ID
  * @param string $notifyURL Your URL to recieve call notification
  *
  * @return string           Transaction Reference
  * @throws HoiioException   Error sending SMS to Hoiio API
  */
 public function sms($to, $msg, $senderID = '', $tag = '', $notifyURL = '')
 {
     return SMSService::sms($this->appID, $this->accessToken, $to, $msg, $senderID, $tag, $notifyURL);
 }