updateUsers

fun Collection<Channel>.updateUsers(users: Map<String, User>): List<Channel>

Updates collection of channels with more recent data of users.


fun Collection<Member>.updateUsers(userMap: Map<String, User>): Collection<Member>

Updates collection of members with more recent data of users.


fun Collection<Message>.updateUsers(users: Map<String, User>): List<Message>

Updates collection of messages with more recent data of users.


fun Message.updateUsers(users: Map<String, User>): Message

Updates a message with more recent data of users. It updates author user, latestReactions, replyTo message, mentionedUsers, threadParticipants and pinnedBy user of this instance.


fun Collection<User>.updateUsers(users: Map<String, User>): List<User>

Updates a collection of users by more fresh value of users.