| Constructor and Description |
|---|
MessageCreator(String pathServiceSid,
String pathChannelSid)
Construct a new MessageCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
MessageCreator |
setAttributes(String attributes)
The attributes.
|
MessageCreator |
setBody(String body)
The body.
|
MessageCreator |
setDateCreated(org.joda.time.DateTime dateCreated)
The date_created.
|
MessageCreator |
setDateUpdated(org.joda.time.DateTime dateUpdated)
The date_updated.
|
MessageCreator |
setFrom(String from)
The from.
|
MessageCreator |
setLastUpdatedBy(String lastUpdatedBy)
The last_updated_by.
|
MessageCreator |
setMediaSid(String mediaSid)
The media_sid.
|
create, createAsync, createAsyncpublic MessageCreator setFrom(String from)
from - The frompublic MessageCreator setAttributes(String attributes)
attributes - The attributespublic MessageCreator setDateCreated(org.joda.time.DateTime dateCreated)
dateCreated - The date_createdpublic MessageCreator setDateUpdated(org.joda.time.DateTime dateUpdated)
dateUpdated - The date_updatedpublic MessageCreator setLastUpdatedBy(String lastUpdatedBy)
lastUpdatedBy - The last_updated_bypublic MessageCreator setBody(String body)
body - The bodypublic MessageCreator setMediaSid(String mediaSid)
mediaSid - The media_sidpublic Message create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.