onUserBanned method

void onUserBanned(
  1. BaseChannel channel,
  2. RestrictedUser restrictedUser
)

A callback for when a user is banned from channel.

Implementation

void onUserBanned(BaseChannel channel, RestrictedUser restrictedUser) {}