setSafetyAlertsChannel method

Future<void> setSafetyAlertsChannel(
  1. String? channelId, {
  2. String? reason,
})

Implementation

Future<void> setSafetyAlertsChannel(String? channelId,
    {String? reason}) async {
  await _serverPart.updateServer(
      id, {'safety_alerts_channel_id': channelId}, reason);
}