setPublicUpdatesChannel method
Set the server's public updates channel.
await server.setPublicUpdatesChannel('1091121140090535956', reason: 'Testing');
Implementation
Future<void> setPublicUpdatesChannel(String? channelId,
{String? reason}) async {
await _serverPart.updateServer(
id, {'public_updates_channel_id': channelId}, reason);
}