banUser method

  1. @Deprecated("Use 'banMember' instead. This method will be removed in v4.0.0")
Future<EmptyResponse> banUser(
  1. String userID,
  2. Map<String, dynamic> options
)

Bans the user with given userID from the channel.

Implementation

@Deprecated("Use 'banMember' instead. This method will be removed in v4.0.0")
Future<EmptyResponse> banUser(
  String userID,
  Map<String, dynamic> options,
) =>
    banMember(userID, options);