setInteractiveChannel
setInteractiveChannel(interactiveChannel)
setInteractiveChannel 方法定义了 startSession 命令使用的交互式渠道的名称。
*
interactiveChannel - 包含交互式渠道名称的字符串。
*
interactiveChannel 必须与 Campaign 中定义的交互式渠道的名称精确匹配。 它是区分大小写的。
返回值
无。
示例
以下示例摘自调用 startSessionexecuteBatch 方法。
String interactiveChannel="Accounts Website";
. . .
Command startSessionCommand = new CommandImpl();
startSessionCommand.setInteractiveChannel(interactiveChannel);