onUserRemoved abstract method

void onUserRemoved(
  1. User user,
  2. User? actor,
  3. String? reason,
  4. bool? ban,
)

Called when a user leaves the server or is removed from it.

If the actor responsible for this remove is either null or the user itself, the user simply left.

If this is NOT the case, the user was either kicked of banned from the server by actor, so there might be a non-null reason.

If the user of this client (self) is kicked or banned, this will be invoked prior to MumlbeClientListener.onDone.

Implementation

void onUserRemoved(User user, User? actor, String? reason, bool? ban);