onUserLeave method

void onUserLeave(
  1. String roomId,
  2. String userId
)

When some user leave chatroom.

  • Parameters:
    • roomId: chatroom id
    • userId: user id

Implementation

void onUserLeave(String roomId, String userId) {}