Integrating Chat SDK User profiles with your app
// Get the current user
User currentUser = ChatSDK.core().currentUser();
// Update their name and avatar
currentUser.setName("name");
currentUser.setAvatarURL("URL");
// Push that data to Firebase
ChatSDK.core().pushUser().subscribe(() -> {
// Handle success
}, throwable -> {
// Handle failure
});SimpleAPI.updateUser("name", "avatarURL");Last updated