public function getSms(string $id): SmsActivity
    {
        @trigger_error(sprintf('The %s() method is deprecated since version 0.8. Use SmsActivityApi::get() instead.', __METHOD__), E_USER_DEPRECATED);

        /** @var SmsActivityApi $apiHandler */
        $apiHandler = $this->closeIoApiWrapper->getSmsActivitiesApi();

        return $apiHandler->get($id);
    }
public function getSms(string $id): SmsActivity
    {
        @trigger_error(sprintf('The %s() method is deprecated since version 0.8. Use SmsActivityApi::get() instead.', __METHOD__), E_USER_DEPRECATED);

        /** @var SmsActivityApi $apiHandler */
        $apiHandler = $this->closeIoApiWrapper->getSmsActivitiesApi();

        return $apiHandler->get($id);
    }
public function getSms ( string $ id ) : SmsActivity { @ trigger_error ( sprintf ( 'The %s() method is deprecated since version 0.8. Use SmsActivityApi::get() instead.' , __METHOD__ ) , E_USER_DEPRECATED ) ; /** @var SmsActivityApi $apiHandler */ $ apiHandler = $ this -> closeIoApiWrapper -> getSmsActivitiesApi ( ) ; return $ apiHandler -> get ( $ id ) ; }
Gets the information about the SMS activity that matches the given ID.

@param string $id The ID of the activity

@return SmsActivity

@deprecated since version 0.8, to be removed in 0.9. Use SmsActivityApi::get() instead.
Gets the information about the SMS activity that matches the given ID .