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:
  • Field Details

  • Constructor Details

    • UserChangeEvent

      public UserChangeEvent()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Event
    • getUser

      public User getUser()
    • getCacheTs

      public Integer getCacheTs()
    • setUser

      public void setUser(User user)
    • setCacheTs

      public void setCacheTs(Integer cacheTs)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object