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 -
Field Summary
-
Constructor Summary
Constructors Constructor Description SubteamUpdatedEvent() -
Method Summary
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()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SubteamUpdatedEvent
public SubteamUpdatedEvent()
-
-
Method Details
-
getType
-
getSubteam
-
getEventTs
-
setSubteam
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-