Package com.slack.api.model.event
Class TeamRenameEvent
- java.lang.Object
-
- com.slack.api.model.event.TeamRenameEvent
-
- All Implemented Interfaces:
Event
,Serializable
public class TeamRenameEvent extends Object implements Event
The team_rename event is sent to all connections for a workspace when an admin changes the workspace name.Clients can use this to update the display of the workspace name as soon as it changes. If they don't the client will receive the new name the next time it calls rtm.start.
https://api.slack.com/events/team_rename
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TeamRenameEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getName()
String
getType()
int
hashCode()
void
setName(String name)
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.slack.api.model.event.Event
getSubtype
-
-
-
-
Field Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-