com.ullink.slack.simpleslackapi.impl.SlackChannelRenamedImpl Maven / Gradle / Ivy
package com.ullink.slack.simpleslackapi.impl;
import com.ullink.slack.simpleslackapi.SlackChannel;
import com.ullink.slack.simpleslackapi.events.SlackChannelRenamed;
import com.ullink.slack.simpleslackapi.events.SlackEventType;
class SlackChannelRenamedImpl implements SlackChannelRenamed
{
private SlackChannel slackChannel;
private String newName;
SlackChannelRenamedImpl(SlackChannel slackChannel, String newName)
{
this.slackChannel = slackChannel;
this.newName = newName;
}
@Override
public SlackChannel getSlackChannel()
{
return slackChannel;
}
@Override
public String getNewName()
{
return newName;
}
@Override
public SlackEventType getEventType()
{
return SlackEventType.SLACK_CHANNEL_RENAMED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy