Class MessageCreator
- java.lang.Object
-
- com.twilio.base.Creator<Message>
-
- com.twilio.rest.chat.v2.service.channel.MessageCreator
-
-
Constructor Summary
Constructors Constructor Description MessageCreator(String pathServiceSid, String pathChannelSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Message
create(TwilioRestClient client)
Execute a request using specified client.MessageCreator
setAttributes(String attributes)
MessageCreator
setBody(String body)
MessageCreator
setDateCreated(ZonedDateTime dateCreated)
MessageCreator
setDateUpdated(ZonedDateTime dateUpdated)
MessageCreator
setFrom(String from)
MessageCreator
setLastUpdatedBy(String lastUpdatedBy)
MessageCreator
setMediaSid(String mediaSid)
MessageCreator
setXTwilioWebhookEnabled(Message.WebhookEnabledType xTwilioWebhookEnabled)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setXTwilioWebhookEnabled
public MessageCreator setXTwilioWebhookEnabled(Message.WebhookEnabledType xTwilioWebhookEnabled)
-
setFrom
public MessageCreator setFrom(String from)
-
setAttributes
public MessageCreator setAttributes(String attributes)
-
setDateCreated
public MessageCreator setDateCreated(ZonedDateTime dateCreated)
-
setDateUpdated
public MessageCreator setDateUpdated(ZonedDateTime dateUpdated)
-
setLastUpdatedBy
public MessageCreator setLastUpdatedBy(String lastUpdatedBy)
-
setBody
public MessageCreator setBody(String body)
-
setMediaSid
public MessageCreator setMediaSid(String mediaSid)
-
-