setPublicUpdatesChannel method

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

Implementation

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