Package com.slack.api.model.event
Class SubteamUpdatedEvent
java.lang.Object
com.slack.api.model.event.SubteamUpdatedEvent
- All Implemented Interfaces:
Event,Serializable
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetType()inthashCode()voidsetEventTs(String eventTs) voidsetSubteam(SubteamUpdatedEvent.Subteam subteam) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.slack.api.model.event.Event
getSubtype
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
SubteamUpdatedEvent
public SubteamUpdatedEvent()
-
-
Method Details