public class WebChannelCreator extends Creator<WebChannel>
Constructor and Description |
---|
WebChannelCreator(String flexFlowSid,
String identity,
String customerFriendlyName,
String chatFriendlyName)
Construct a new WebChannelCreator.
|
Modifier and Type | Method and Description |
---|---|
WebChannel |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
WebChannelCreator |
setChatUniqueName(String chatUniqueName)
The chat channel's unique name..
|
WebChannelCreator |
setPreEngagementData(String preEngagementData)
The pre-engagement data..
|
create, createAsync, createAsync
public WebChannelCreator(String flexFlowSid, String identity, String customerFriendlyName, String chatFriendlyName)
flexFlowSid
- The SID of the Flex Flowidentity
- The chat identitycustomerFriendlyName
- The chat participant's friendly namechatFriendlyName
- The chat channel's friendly namepublic WebChannelCreator setChatUniqueName(String chatUniqueName)
chatUniqueName
- The chat channel's unique namepublic WebChannelCreator setPreEngagementData(String preEngagementData)
preEngagementData
- The pre-engagement datapublic WebChannel create(TwilioRestClient client)
create
in class Creator<WebChannel>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.