Class MessageUpdater
- java.lang.Object
-
- com.twilio.base.Updater<Message>
-
- com.twilio.rest.api.v2010.account.MessageUpdater
-
-
Constructor Summary
Constructors Constructor Description MessageUpdater(String pathSid, String body)
Construct a new MessageUpdater.MessageUpdater(String pathAccountSid, String pathSid, String body)
Construct a new MessageUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Message
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.-
Methods inherited from class com.twilio.base.Updater
update, updateAsync, updateAsync
-
-
-
-
Constructor Detail
-
MessageUpdater
public MessageUpdater(String pathSid, String body)
Construct a new MessageUpdater.- Parameters:
pathSid
- The unique string that identifies the resourcebody
- 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 updatepathSid
- The unique string that identifies the resourcebody
- 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.
-
-