I assume you mean OxygenOS 9.0.8, based on Android 9 Pie.
To do this, you can go to Settings > Apps and Notifications > See all apps
Scroll down the list to find your app and select it from the list.
Choose which notification channel you would like to mute notifications from.
Tap Behavior and select your desired behavior.