shadowBan method

Future<EmptyResponse> shadowBan(
  1. String targetID, [
  2. Map<String, dynamic> options = const {}
])

Shadow bans a user

Implementation

Future<EmptyResponse> shadowBan(
  String targetID, [
  Map<String, dynamic> options = const {},
]) =>
    banUser(targetID, {
      'shadow': true,
      ...options,
    });