$response = $intellipush->delete($sms); renderSectionOutput($response, 'Deleting SMS to contact with repeat'); /** CREATING SMS TO CONTACTLIST **/ $sms = new Sms(); $sms->message('Hei hei! :)')->contactlist($contactlist_id); $response = $intellipush->create($sms); renderSectionOutput($response, 'Creating SMS to contactlist'); /** CREATING SMS TO CONTACTLIST WITH FILTER **/ $sms = new Sms(); $contactfilter = new Filter(); $contactfilter->sex('female'); $sms->message('Hei hei! :)')->contactlist($contactlist_id)->contactlistFilter($contactfilter); $response = $intellipush->create($sms); renderSectionOutput($response, 'Creating SMS to contactlist with filter'); /** REMOVE CONTACT FROM CONTACTLIST **/ $contactlist = new Contactlist(); $contactlist->id($contactlist_id)->contactId($contact_id); $response = $intellipush->delete($contactlist); renderSectionOutput($response, 'Remove Contact from Contactlist'); /** DELETING CONTACT **/ $contact = new Contact(); $contact->id($contact_id); $response = $intellipush->delete($contact);