public class TestChannelGenerator extends Object
| Constructor and Description |
|---|
TestChannelGenerator(SlackTestConfig testConfig,
String token) |
| Modifier and Type | Method and Description |
|---|---|
void |
archiveChannel(Conversation channel) |
Conversation |
createNewChannel(String channelName,
boolean isPrivate) |
Conversation |
createNewPrivateChannel(String channelName) |
Conversation |
createNewPublicChannel(String channelName) |
public TestChannelGenerator(SlackTestConfig testConfig, String token)
public Conversation createNewPublicChannel(String channelName) throws IOException, SlackApiException
IOExceptionSlackApiExceptionpublic Conversation createNewPrivateChannel(String channelName) throws IOException, SlackApiException
IOExceptionSlackApiExceptionpublic Conversation createNewChannel(String channelName, boolean isPrivate) throws IOException, SlackApiException
IOExceptionSlackApiExceptionpublic void archiveChannel(Conversation channel) throws IOException, SlackApiException
IOExceptionSlackApiExceptionCopyright © 2020. All rights reserved.