Class MessageUpdater

    • Constructor Detail

      • MessageUpdater

        public MessageUpdater​(String pathSid,
                              String body)
        Construct a new MessageUpdater.
        Parameters:
        pathSid - The unique string that identifies the resource
        body - The text of the message you want to send
      • MessageUpdater

        public MessageUpdater​(String pathAccountSid,
                              String pathSid,
                              String body)
        Construct a new MessageUpdater.
        Parameters:
        pathAccountSid - The SID of the Account that created the resources to update
        pathSid - The unique string that identifies the resource
        body - The text of the message you want to send
    • Method Detail

      • update

        public Message update​(TwilioRestClient client)
        Make the request to the Twilio API to perform the update.
        Specified by:
        update in class Updater<Message>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Updated Message