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 text body of the message to send to the Participant.
|
MessageInteractionCreator |
setMediaUrl(List<URI> mediaUrl)
The public url of an image or video to send to the Participant..
|
MessageInteractionCreator |
setMediaUrl(String mediaUrl)
The public url of an image or video to send to the Participant..
|
MessageInteractionCreator |
setMediaUrl(URI mediaUrl)
The public url of an image or video to send to the Participant..
|
create, createAsync, createAsyncpublic MessageInteractionCreator(String pathServiceSid, String pathSessionSid, String pathParticipantSid, String body)
pathServiceSid - The service_sidpathSessionSid - The session_sidpathParticipantSid - The participant_sidbody - The body of the message. Up to 1600 characters long.public MessageInteractionCreator(String pathServiceSid, String pathSessionSid, String pathParticipantSid, List<URI> mediaUrl)
pathServiceSid - The service_sidpathSessionSid - The session_sidpathParticipantSid - The participant_sidmediaUrl - The url of an image or video.public MessageInteractionCreator setBody(String body)
body - The body of the message. Up to 1600 characters long.public MessageInteractionCreator setMediaUrl(List<URI> mediaUrl)
mediaUrl - The url of an image or video.public MessageInteractionCreator setMediaUrl(URI mediaUrl)
mediaUrl - The url of an image or video.public MessageInteractionCreator setMediaUrl(String mediaUrl)
mediaUrl - The url of an image or video.public MessageInteraction create(TwilioRestClient client)
create in class Creator<MessageInteraction>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.