setAfkTimeout method

Future<void> setAfkTimeout(
  1. int value, {
  2. String? reason,
})

Implementation

Future<void> setAfkTimeout(int value, {String? reason}) async {
  await _serverPart.updateServer(id, {'afk_timeout': value}, reason);
}