public class MessageInteractionCreator extends Creator<MessageInteraction>
| Constructor and Description |
|---|
MessageInteractionCreator(String pathServiceSid,
String pathSessionSid,
String pathParticipantSid,
List<URI> mediaUrl)
Construct a new MessageInteractionCreator.
|
MessageInteractionCreator(String pathServiceSid,
String pathSessionSid,
String pathParticipantSid,
String body)
Construct a new MessageInteractionCreator.
|
| Modifier and Type | Method and Description |
|---|---|
MessageInteraction |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
MessageInteractionCreator |
setBody(String body)
The body.
|
MessageInteractionCreator |
setMediaUrl(List<URI> mediaUrl)
The media_url.
|
MessageInteractionCreator |
setMediaUrl(String mediaUrl)
The media_url.
|
MessageInteractionCreator |
setMediaUrl(URI mediaUrl)
The media_url.
|
create, createAsync, createAsyncpublic MessageInteractionCreator(String pathServiceSid, String pathSessionSid, String pathParticipantSid, String body)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.pathParticipantSid - Participant Sid.body - The bodypublic MessageInteractionCreator(String pathServiceSid, String pathSessionSid, String pathParticipantSid, List<URI> mediaUrl)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.pathParticipantSid - Participant Sid.mediaUrl - The media_urlpublic MessageInteractionCreator setBody(String body)
body - The bodypublic MessageInteractionCreator setMediaUrl(List<URI> mediaUrl)
mediaUrl - The media_urlpublic MessageInteractionCreator setMediaUrl(URI mediaUrl)
mediaUrl - The media_urlpublic MessageInteractionCreator setMediaUrl(String mediaUrl)
mediaUrl - The media_urlpublic MessageInteraction create(TwilioRestClient client)
create in class Creator<MessageInteraction>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.