onUserJoined

open fun onUserJoined(channel: GroupChannel, user: User)

A callback for when a new member has joined GroupChannel. To use the updated member list, refer to GroupChannel.members and GroupChannel.memberCount.

Parameters

channel

The GroupChannel the new member has joined.

user

The newly joined member (User).