public class ParticipantCreator extends Creator<Participant>
Constructor and Description |
---|
ParticipantCreator(String conversationSid,
PhoneNumber to,
PhoneNumber from)
Construct a new ParticipantCreator.
|
Modifier and Type | Method and Description |
---|---|
Participant |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
public ParticipantCreator(String conversationSid, PhoneNumber to, PhoneNumber from)
conversationSid
- The conversation_sidto
- The tofrom
- The frompublic Participant execute(TwilioRestClient client)
execute
in class Creator<Participant>
client
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.