createChannelIfNecessary

fun createChannelIfNecessary(context: Context, channelName: String, channelId: String, importance: Int = NotificationManagerCompat.IMPORTANCE_HIGH, sound: Boolean = true, vibrate: Boolean = true, lights: Boolean = true): Boolean