Package com.slack.api.model.event
Class SubteamUpdatedEvent
- java.lang.Object
-
- com.slack.api.model.event.SubteamUpdatedEvent
-
- All Implemented Interfaces:
Event,Serializable
public class SubteamUpdatedEvent extends Object implements Event
The subteam_updated event is sent to all connections for a workspace when an existing User Group is updated. This event is triggered for changes to the User Group information (name, description, or handle) as well as the members of the group.Clients can use this to update their local list of groups and group members. The users field is truncated at 500, however the user_count field will still show the actual count.
If you are only interested in User Group membership changes, consider using the subteam_members_changed event instead.
This event type may also arise when a subteam has been disabled.
https://api.slack.com/events/subteam_updated
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubteamUpdatedEvent.Prefsstatic classSubteamUpdatedEvent.Subteam
-
Constructor Summary
Constructors Constructor Description SubteamUpdatedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetEventTs()SubteamUpdatedEvent.SubteamgetSubteam()StringgetType()inthashCode()voidsetEventTs(String eventTs)voidsetSubteam(SubteamUpdatedEvent.Subteam subteam)StringtoString()-
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
-
-
Method Detail
-
getSubteam
public SubteamUpdatedEvent.Subteam getSubteam()
-
getEventTs
public String getEventTs()
-
setSubteam
public void setSubteam(SubteamUpdatedEvent.Subteam subteam)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-