Constructor and Description |
---|
MessageCreator(String pathServiceSid,
String pathChannelSid,
String body)
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 |
setFrom(String from)
The from.
|
create, createAsync, createAsync
public MessageCreator setFrom(String from)
from
- The frompublic MessageCreator setAttributes(String attributes)
attributes
- The attributespublic Message create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.