setPermissionsOverwrite method

Future<void> setPermissionsOverwrite(
  1. List<PermissionOverwrite> permissions
)

Set permissions of this

Implementation

Future<void> setPermissionsOverwrite (List<PermissionOverwrite> permissions) async {
  await update(ChannelBuilder({ 'permission_overwrites': permissions.map((permission) => permission.toJson()).toList() }));
}