public class ImCreatedEvent extends Object implements Event
This message lets the client know that a channel has been created, but the client should show no changes based on this, just update its internal list of IM channels. Usually this event is followed by an im_open event.
https://api.slack.com/events/im_created
| Modifier and Type | Class and Description |
|---|---|
static class |
ImCreatedEvent.Channel |
| Constructor and Description |
|---|
ImCreatedEvent() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
ImCreatedEvent.Channel |
getChannel() |
String |
getType() |
String |
getUser() |
int |
hashCode() |
void |
setChannel(ImCreatedEvent.Channel channel) |
void |
setUser(String user) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSubtypepublic static final String TYPE_NAME
public String getUser()
public ImCreatedEvent.Channel getChannel()
public void setUser(String user)
public void setChannel(ImCreatedEvent.Channel channel)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.