Class ChannelDeleter

    • Constructor Detail

      • ChannelDeleter

        public ChannelDeleter​(String pathServiceSid,
                              String pathSid)
        Construct a new ChannelDeleter.
        Parameters:
        pathServiceSid - The SID of the Service to delete the resource from
        pathSid - The SID of the Channel resource to delete
    • Method Detail

      • delete

        public boolean delete​(TwilioRestClient client)
        Make the request to the Twilio API to perform the delete.
        Specified by:
        delete in class Deleter<Channel>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        true if the object was deleted