onUserJoined method

void onUserJoined(
  1. GroupChannel channel,
  2. 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.

Implementation

void onUserJoined(GroupChannel channel, User user) {}