onUserExited method

void onUserExited(
  1. OpenChannel channel,
  2. User user
)

A callback for when a User has exited OpenChannel. To use the updated participant count, refer to OpenChannel.participantCount.

Implementation

void onUserExited(OpenChannel channel, User user) {}