com.slack.api.model.event.UserChangeEvent Maven / Gradle / Ivy
package com.slack.api.model.event;
import com.slack.api.model.User;
import lombok.Data;
/**
* 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
*/
@Data
public class UserChangeEvent implements Event {
public static final String TYPE_NAME = "user_change";
private final String type = TYPE_NAME;
private User user; // TODO: make sure the available attributes
private Integer cacheTs;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy