Package com.slack.api.model.event
Class UserChangeEvent
- java.lang.Object
-
- com.slack.api.model.event.UserChangeEvent
-
- All Implemented Interfaces:
Event
,Serializable
public class UserChangeEvent extends Object implements Event
The user_change event is sent to all connections for a workspace when a member updates their profile or data. Clients can use this to update their local cache of members.Use the users.profile.set method to update user profile data.
https://api.slack.com/events/user_change
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserChangeEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Integer
getCacheTs()
String
getType()
User
getUser()
int
hashCode()
void
setCacheTs(Integer cacheTs)
void
setUser(User user)
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
-
-