public class Sms extends Verb
| Constructor and Description |
|---|
Sms(String message)
Instantiates a new sms.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setAction(String url)
Sets the action.
|
void |
setFrom(String str)
Sets the from.
|
void |
setMethod(String method)
Sets the method.
|
void |
setStatusCallback(String url)
Sets the status callback.
|
void |
setTo(String str)
Sets the to.
|
append, asURL, getAttributes, getBody, getChildren, getTag, set, toEscapedXML, toXMLpublic Sms(String message)
message - the messagepublic void setTo(String str)
str - the new topublic void setFrom(String str)
str - the new frompublic void setMethod(String method)
method - the new methodpublic void setAction(String url)
url - the new actionpublic void setStatusCallback(String url)
url - the new status callbackCopyright © 2011 Twilio, Inc. All Rights Reserved.